Skip to content

Commit

Permalink
fix makefile.am for t_acc
Browse files Browse the repository at this point in the history
  • Loading branch information
mlee03 authored and mlee03 committed Jul 19, 2024
1 parent d1ef1ea commit 4f5cf77
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion t_acc/test_get_grid_cell_struct/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ LDADD = $(NETCDF_LDFLAGS) $(NETCDF_LIBS) $(RPATH_FLAGS) \
$(top_builddir)/tools/libfrencutils/libfrencutils.a \
$(top_builddir)/tools/libfrencutils_acc/libfrencutils_acc.a

test_get_grid_cell_struct = test_get_grid_cell_struct.c
test_get_grid_cell_struct_SOURCES = test_get_grid_cell_struct.c

TESTS = test_get_grid_cell_struct
2 changes: 1 addition & 1 deletion t_acc/test_get_interp_order1/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ LDADD = $(NETCDF_LDFLAGS) $(NETCDF_LIBS) $(RPATH_FLAGS) \
$(top_builddir)/tools/libfrencutils/libfrencutils.a \
$(top_builddir)/tools/libfrencutils_acc/libfrencutils_acc.a

test_get_upbound_nxcells_2dx2d = test_get_interp_order1.c
test_get_interp_order1_SOURCES = test_get_interp_order1.c

TESTS = test_get_interp_order1
2 changes: 1 addition & 1 deletion t_acc/test_get_upbound_nxcells_2dx2d/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ LDADD = $(NETCDF_LDFLAGS) $(NETCDF_LIBS) $(RPATH_FLAGS) \
$(top_builddir)/tools/libfrencutils/libfrencutils.a \
$(top_builddir)/tools/libfrencutils_acc/libfrencutils_acc.a

test_get_upbound_nxcells_2dx2d = test_get_upbound_nxcells_2dx2d.c
test_get_upbound_nxcells_2dx2d_SOURCES = test_get_upbound_nxcells_2dx2d.c

TESTS = test_get_upbound_nxcells_2dx2d
4 changes: 1 addition & 3 deletions t_acc/test_read_remap_file/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ TESTS = test_read_remap_file_conserve.sh
EXTRA_DIST = test_read_remap_file_conserve.sh \
test_make_remap_file.py

cp_test_make_remap_file : test_make_remap_file_conserve.py
cp $(top_srcdir)/t_acc/test_read_remap_file/test_make_remap_file_conserve.py \
$(top_builddir)/t_acc/test_read_remap_file/test_make_remap_file_conserve.py

TESTS_ENVIRONMENT = test_make_remap_file_conserve="$(srcdir)/test_make_remap_file_conserve.py"

TEST_EXTENSIONS = .sh

Expand Down
7 changes: 4 additions & 3 deletions t_acc/test_read_remap_file/test_read_remap_file_conserve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
#***********************************************************************

#copy python script over
make cp_test_make_remap_file
#make cp_test_make_remap_file

echo -e "\ntest reading remap file for conserve_order1\n"
./test_make_remap_file_conserve.py 1

${test_make_remap_file_conserve} 1
./test_read_remap_file 1

echo -e "\ntest reading remap file for conserve_order2\n"
./test_make_remap_file_conserve.py 2
${test_make_remap_file_conserve} 2
./test_read_remap_file 2

0 comments on commit 4f5cf77

Please sign in to comment.