Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[2c001c]: src / tests / Makefile.in Maximize Restore History

Download this file

Makefile.in    62 lines (51 with data), 1.9 kB

 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
ECL=ecl@EXEEXT@
all: output.ecl/ansi.log output.ecl/regressions.log
.PHONY: do-ansi do-regressions do-quicklisp cleanup clean-sources update
output.ecl/ansi.log: config.lsp
$(MAKE) do-ansi
$(MAKE) show-fails
output.ecl/regressions.log: config.lsp
$(MAKE) do-regressions
$(MAKE) show-fails
do-ansi: ansi-tests config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::run-ansi-tests)' -eval '(ext:quit)' < /dev/null
do-regressions: regressions config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::run-regressions-tests)' -eval '(ext:quit)' < /dev/null
do-quicklisp: quicklisp config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::run-quicklisp-tests)' -eval '(ext:quit)' < /dev/null
do-mop-tests: mop-features config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::run-mop-tests)' -eval '(ext:quit)' < /dev/null
show-fails:
grep "^Test .* failed" output.ecl/ansi.log output.ecl/regressions.log
#
# Create directories
#
ansi-tests: config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::ensure-ansi-tests)' -eval '(ext:quit)' < /dev/null
regressions: config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::ensure-regressions)' -eval '(ext:quit)' < /dev/null
quicklisp: config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::ensure-quicklisp)' -eval '(ext:quit)' < /dev/null
mop-features: config.lsp
$(ECL) -norc -load config.lsp -eval '(ecl-tests::ensure-mop-tests)' -eval '(ext:quit)' < /dev/null
#
# Test other implementations
#
test-sbcl:
TEST_NAME=sbcl TEST_IMAGE=sbcl $(MAKE) do-ansi
test-clisp:
TEST_NAME=clisp TEST_IMAGE=clisp $(MAKE) do-ansi
test-dx86cl64:
TEST_NAME=dx86cl64 TEST_IMAGE=ccl $(MAKE) do-ansi
#
# Cleanup
#
clean:
rm -rf output*
clean-sources:
test -f config.lsp.in || rm -rf bugs
rm -rf ansi-tests quicklisp mop-features regressions
distclean: clean-sources clean
rm -rf cache
update: clean-sources
$(MAKE) ansi-tests regressions quicklisp mop-features