Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
1a80c165
Commit
1a80c165
authored
9 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Moved the test_single example to the unit test directory.
parent
07e5d70c
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!52
Cleaning up of the main file
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+11
-7
11 additions, 7 deletions
.gitignore
examples/Makefile.am
+1
-6
1 addition, 6 deletions
examples/Makefile.am
tests/Makefile.am
+7
-3
7 additions, 3 deletions
tests/Makefile.am
tests/testSingle.c
+0
-0
0 additions, 0 deletions
tests/testSingle.c
with
19 additions
and
16 deletions
.gitignore
+
11
−
7
View file @
1a80c165
...
...
@@ -18,13 +18,17 @@ doc/html/
doc/latex/
doc/man/
doc/Doxyfile
examples/test
examples/test_fixdt
examples/test_fixdt_mpi
examples/test_mindt
examples/test_mindt_mpi
examples/test_mpi
examples/test_single
examples/swift
examples/swift_fixdt
examples/swift_fixdt_mpi
examples/swift_mindt
examples/swift_mindt_mpi
examples/swift_mpi
tests/testGreetings
tests/testReading
tests/input.hdf5
tests/testSingle
m4/libtool.m4
m4/ltoptions.m4
...
...
This diff is collapsed.
Click to expand it.
examples/Makefile.am
+
1
−
6
View file @
1a80c165
...
...
@@ -29,7 +29,7 @@ MPI_LIBS = $(METIS_LIBS) $(MPI_THREAD_LIBS)
MPI_FLAGS
=
-DWITH_MPI
$(
METIS_INCS
)
# 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?
if
HAVEMPI
...
...
@@ -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_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
)
This diff is collapsed.
Click to expand it.
tests/Makefile.am
+
7
−
3
View file @
1a80c165
...
...
@@ -20,13 +20,17 @@ AM_CFLAGS = -I../src -DCPU_TPS=2.67e9 $(HDF5_CPPFLAGS)
AM_LDFLAGS
=
../src/.libs/libswiftsim.a
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
# 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
check_PROGRAMS
=
testGreetings testReading
check_PROGRAMS
=
testGreetings testReading
testSingle
# Sources for the individual programs
testGreetings_SOURCES
=
testGreetings.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
)
This diff is collapsed.
Click to expand it.
example
s/test
_s
ingle.c
→
test
s/test
S
ingle.c
+
0
−
0
View file @
1a80c165
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment