forked from sstsimulator/sst-macro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.skeleton_tests
52 lines (40 loc) · 1.43 KB
/
Makefile.skeleton_tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.PHONY: skeletons
if !INTEGRATED_SST_CORE
#------------------------------------------------------------------------------------------#
# Skeleton tests (installcheck) {{{#
#------------------------------------------------------------------------------------------#
# The CASES variables are used here to simplify the build rules
# These are run with the same rule
SKELETONCASES= \
gtc \
osu \
lu \
sweep3d \
miniFE \
minimd_full \
HPCCG
if EXTERNAL_BOOST
SKELETONCASES += boxml
endif
SKELETONTESTS = $(SKELETONCASES:%=test_skeleton_%)
SKELETON_DEFINES=
if HAVE_ATOMIC_BUILTIN
SKELETON_DEFINES += -DHAVE_ATOMIC_BUILTIN
endif
skeletons:
rm -fr skeletons
cp -fpR $(top_srcdir)/skeletons .
chmod -R u+w skeletons # required for make distcheck (makes files r/o)
$(SKELETONCASES): skeletons
cd skeletons/$@; PATH=$(bindir):$$PATH \
SKELETON_DEFINES=$(SKELETON_DEFINES) $(MAKE)
test_skeleton_%.$(CHKSUF): %
$(top_srcdir)/bin/runtest 3 $@ ./skeletons/$*/run$* --help
test_apps_%.$(CHKSUF): %
$(top_srcdir)/bin/runtest 3 $@ ./skeletons/$*/runsst -f $(srcdir)/test_configs/test_$*_app.ini \
--no-wall-time
test_mpi_apps_%.$(CHKSUF): %
$(top_srcdir)/bin/runtest 3 $@ ./skeletons/$*/runsst -f $(srcdir)/test_configs/test_$*_mpi.ini \
--no-wall-time
#------------------------------------------------------------------------------------------#
endif