2001-08-02 Dietmar Maurer <dietmar@ximian.com>
[mono.git] / mono / tests / Makefile.am
1
2 TEST_PROG=../interpreter/mono-int
3 CSC=csc
4
5 TESTSRC=        \
6         test-ops.cs     \
7         fib.cs  \
8         obj.cs  \
9         random.cs       \
10         switch.cs       \
11         outparm.cs      \
12         nested-loops.cs \
13         exception.cs    \
14         struct.cs       \
15         pinvoke.cs
16
17 TESTS=  \
18         test-ops.exe    \
19         fib.exe \
20         obj.exe \
21         random.exe      \
22         switch.exe      \
23         outparm.exe     \
24         nested-loops.exe        \
25         exception.exe   \
26         struct.exe      \
27         pinvoke.exe
28
29 EXTRA_DIST=test-driver $(TESTSRC)
30
31 %.exe: %.cs
32         $(CSC) $<
33
34 test: $(TEST_PROG) $(TESTS)
35         for i in $(TESTS); do   \
36                 ./test-driver $(TEST_PROG) $$i; \
37         done
38