Commit 1a80c165 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Moved the test_single example to the unit test directory.

parent 07e5d70c
...@@ -18,13 +18,17 @@ doc/html/ ...@@ -18,13 +18,17 @@ doc/html/
doc/latex/ doc/latex/
doc/man/ doc/man/
doc/Doxyfile doc/Doxyfile
examples/test examples/swift
examples/test_fixdt examples/swift_fixdt
examples/test_fixdt_mpi examples/swift_fixdt_mpi
examples/test_mindt examples/swift_mindt
examples/test_mindt_mpi examples/swift_mindt_mpi
examples/test_mpi examples/swift_mpi
examples/test_single
tests/testGreetings
tests/testReading
tests/input.hdf5
tests/testSingle
m4/libtool.m4 m4/libtool.m4
m4/ltoptions.m4 m4/ltoptions.m4
......
...@@ -29,7 +29,7 @@ MPI_LIBS = $(METIS_LIBS) $(MPI_THREAD_LIBS) ...@@ -29,7 +29,7 @@ MPI_LIBS = $(METIS_LIBS) $(MPI_THREAD_LIBS)
MPI_FLAGS = -DWITH_MPI $(METIS_INCS) MPI_FLAGS = -DWITH_MPI $(METIS_INCS)
# Set-up the library # Set-up the library
bin_PROGRAMS = swift swift_fixdt swift_mindt test_single bin_PROGRAMS = swift swift_fixdt swift_mindt
# Build MPI versions as well? # Build MPI versions as well?
if HAVEMPI if HAVEMPI
...@@ -66,8 +66,3 @@ swift_mindt_mpi_SOURCES = main.c ...@@ -66,8 +66,3 @@ swift_mindt_mpi_SOURCES = main.c
swift_mindt_mpi_CFLAGS = $(MYFLAGS) $(AM_CFLAGS) $(MPI_FLAGS) -DENGINE_POLICY="engine_policy_keep" swift_mindt_mpi_CFLAGS = $(MYFLAGS) $(AM_CFLAGS) $(MPI_FLAGS) -DENGINE_POLICY="engine_policy_keep"
swift_mindt_mpi_LDADD = ../src/.libs/libswiftsim_mpi.a $(HDF5_LDFLAGS) $(HDF5_LIBS) $(MPI_LIBS) swift_mindt_mpi_LDADD = ../src/.libs/libswiftsim_mpi.a $(HDF5_LDFLAGS) $(HDF5_LIBS) $(MPI_LIBS)
# Sources for test_single
test_single_SOURCES = test_single.c
test_single_CFLAGS = $(MYFLAGS) $(AM_CFLAGS)
test_single_LDADD = ../src/.libs/libswiftsim.a $(HDF5_LDFLAGS) $(HDF5_LIBS)
...@@ -20,13 +20,17 @@ AM_CFLAGS = -I../src -DCPU_TPS=2.67e9 $(HDF5_CPPFLAGS) ...@@ -20,13 +20,17 @@ AM_CFLAGS = -I../src -DCPU_TPS=2.67e9 $(HDF5_CPPFLAGS)
AM_LDFLAGS = ../src/.libs/libswiftsim.a $(HDF5_LDFLAGS) $(HDF5_LIBS) AM_LDFLAGS = ../src/.libs/libswiftsim.a $(HDF5_LDFLAGS) $(HDF5_LIBS)
# List of programs and scripts to run in the test suite # List of programs and scripts to run in the test suite
TESTS = testGreetings testReading.sh TESTS = testGreetings testReading.sh testSingle
# List of test programs to compile # List of test programs to compile
check_PROGRAMS = testGreetings testReading check_PROGRAMS = testGreetings testReading testSingle
# Sources for the individual programs # Sources for the individual programs
testGreetings_SOURCES = testGreetings.c testGreetings_SOURCES = testGreetings.c
testReading_SOURCES = testReading.c testReading_SOURCES = testReading.c
# Sources for test_single
testSingle_SOURCES = testSingle.c
testSingle_CFLAGS = $(MYFLAGS) $(AM_CFLAGS)
testSingle_LDADD = ../src/.libs/libswiftsim.a $(HDF5_LDFLAGS) $(HDF5_LIBS)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment