forked from sstsimulator/sst-macro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.single_tests
82 lines (62 loc) · 2.76 KB
/
Makefile.single_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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
.PHONY: traces
if !INTEGRATED_SST_CORE
# These are each run by a specific rule
SINGLETESTS = \
test_uq \
test_utilities \
test_pthread \
test_blas \
test_scan \
test_blas_finegrained \
test_node_noise \
test_compute
if ENABLE_DEBUG
SINGLETESTS += \
test_dumpi_manager \
test_dumpi_bgp
endif
test_scan.$(CHKSUF): test_scan
$(PYRUNTEST) 20 test_scan.tmp.$(CHKSUF) ./test_scan --no-wall-time -f $(srcdir)/test_configs/test_scan.ini
-grep 'T=' test_scan.tmp.$(CHKSUF) > $@
test_uq.$(CHKSUF): test_uq
$(PYRUNTEST) 6 $@ ./test_uq -f $(srcdir)/test_configs/test_uq.ini
test_utilities.$(CHKSUF): test_utilities
$(PYRUNTEST) 6 $@ ./test_utilities
test_blas.$(CHKSUF): test_blas
$(PYRUNTEST) 6 $@ ./test_blas --no-wall-time -f $(srcdir)/test_configs/test_compute_blas.ini
test_blas_finegrained.$(CHKSUF): test_blas
$(PYRUNTEST) 6 $@ ./test_blas --no-wall-time -f $(srcdir)/test_configs/test_compute_blas_finegrained.ini
test_node_noise.$(CHKSUF): test_blas
$(PYRUNTEST) 6 $@ ./test_blas --no-wall-time -f $(srcdir)/test_configs/test_compute_blas_node_noise.ini
test_pthread.$(CHKSUF): test_pthread
$(PYRUNTEST) 6 $@ ./test_pthread --no-wall-time -f $(srcdir)/test_configs/pthread.ini
test_compute.$(CHKSUF): $(SSTMACEXEC)
$(PYRUNTEST) 6 $@ $(SSTMACEXEC) -f $(srcdir)/test_configs/test_compute.ini --no-wall-time
#------------------------------------------------------------------------------------------#
# DUMPI-related tests {{{#
#------------------------------------------------------------------------------------------#
SINGLETESTS += \
test_parsedumpi
traces:
rm -fr *.bin *.meta *.map
cp -f $(top_srcdir)/tests/test_traces/* ./
chmod u+w *.bin *.meta *.map # required for make distcheck (makes files r/o)
test_dumpi_manager.$(CHKSUF): $(SSTMACEXEC) traces
$(PYRUNTEST) 5 $@ $(SSTMACEXEC) -f $(srcdir)/test_configs/test_dumpi_manager.ini \
-d indexing,allocation --no-wall-time
test_dumpi_bgp.$(CHKSUF): $(SSTMACEXEC) traces
$(PYRUNTEST) 5 $@ $(SSTMACEXEC) -f $(srcdir)/test_configs/test_dumpi_bgp.ini \
-d indexing,allocation --no-wall-time
test_parsedumpi.$(CHKSUF): $(SSTMACEXEC) traces
$(PYRUNTEST) 3 $@ $(SSTMACEXEC) -f $(srcdir)/test_configs/test_parsedumpi.ini --no-wall-time
#------------------------------------------------------------------------------------------#
# Fortran tests (only if FC_ENABLE) {{{#
#------------------------------------------------------------------------------------------#
if FC_ENABLE
SINGLETESTS += test_compute_f
endif
# TODO should this be PYRUNTEST?
test_compute_f.$(CHKSUF): $(SSTMACEXEC)
$(SSTMACEXEC) -f $(srcdir)/test_configs/test_compute_f.ini \
--no-wall-time > $@
endif