Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless \n in DEBUG messages.
[simgrid.git] / testsuite / Makefile.am
1 # Copyright (c) 2004-2007. The SimGrid team. All right reserved.
2
3 # This file is part of the SimGrid project. This is free software:
4 # You can redistribute and/or modify it under the terms of the
5 # GNU LGPL (v2.1) licence.
6
7
8 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/src/include
9 AM_CFLAGS=-g
10
11 CLEANFILES = *~ test a.out *.o testgraph.xml testgraph.dot
12 DISTCLEANFILES =  gras/.libs/* xbt/.libs/* surf/.libs/* msg/.libs/* simdag/.libs/*
13
14 EXTRA_DIST=run_tests.in \
15   xbt/graph.xml \
16   surf/trace_A.txt surf/trace_B.txt surf/trace_A_failure.txt surf/platform.xml\
17   simdag/availability_tremblay.txt simdag/small_platform_variable.xml
18   
19 # Test stuff
20
21 xbt_tests =                                                      \
22         xbt/log_usage                                            \
23         xbt/heap_bench                                           \
24         xbt/graphxml_usage                                       \
25         xbt/context_usage                                        
26
27 SG_tests =                                              \
28         surf/maxmin_bench surf/lmm_usage \
29         surf/trace_usage surf/surf_usage surf/surf_usage2
30
31 simdag_tests = simdag/sd_test
32
33 check_PROGRAMS = $(xbt_tests) $(SG_tests) $(simdag_tests)
34 check_SCRIPTS = run_tests 
35 TESTS=run_tests
36
37 test: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
38         ./run_tests
39 valgrind: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
40         ./run_tests valgrind
41
42 # LDADD_UTILS is still a separate var to distinguish core tester from RL tester
43 LDADD_SG=$(abs_top_builddir)/src/libsimgrid.la 
44 LDADD_RL=$(abs_top_builddir)/src/libgras.la   
45
46 xbt_log_usage_LDADD=          $(LDADD_RL)
47
48 xbt_heap_bench_LDADD=         $(LDADD_RL)
49
50 xbt_graphxml_usage_LDADD=     $(LDADD_SG)
51
52 xbt_context_usage_LDADD=      $(LDADD_SG)
53
54 surf_maxmin_bench_LDADD=      $(LDADD_SG)
55 surf_lmm_usage_LDADD=         $(LDADD_SG)
56 surf_trace_usage_LDADD=       $(LDADD_SG)
57 surf_surf_usage_LDADD=        $(LDADD_SG)
58 surf_surf_usage2_LDADD=       $(LDADD_SG)
59
60 simdag_sd_test_LDADD=       $(LDADD_SG)
61
62 include $(top_srcdir)/acmacro/dist-files.mk