38d30a3e42
* GNUmakefile (OUT,QUIET,SUBDIRS): New variables. include make/common.make * .gitignore: Remove toplevel targets. * build-aux/compile-all.scm: Import from GNU Guix. * configure (gulp-pipe): Check exit status. Actually test for CC, CC32. * make/bin.make: New file. * make/check.make: New file. * make/clean.make: New file. * make/common.make: New file. * make/compile.make: New file. * make/guile.make: New file. * make/mescc-guile.make: New file. * make/mescc-mes.make: New file. * make/reset.make: New file. * lib/mlibc.c: Rename from top. * lib/start.c: Rename from top. * module/module.make: New file. * scaffold/scaffold.make: New file. * scripts/scripts.make: New file. * src/mes.c: Rename from top. * src/src.make: New file. * src/mes.c: Rename from top. * src/gc..c: Rename from top. * src/lib.c: Rename from top. * src/posix.c: Rename from top. * src/reader.c: Rename from top. * src/vector.c: Rename from top. * tests/tests.make: New file.
39 lines
760 B
Makefile
39 lines
760 B
Makefile
TESTS:=\
|
|
tests/read.test\
|
|
tests/base.test\
|
|
tests/closure.test\
|
|
tests/quasiquote.test\
|
|
tests/let.test\
|
|
tests/scm.test\
|
|
tests/display.test\
|
|
tests/cwv.test\
|
|
tests/math.test\
|
|
tests/vector.test\
|
|
tests/srfi-1.test\
|
|
tests/srfi-13.test\
|
|
tests/srfi-14.test\
|
|
tests/optargs.test\
|
|
tests/fluids.test\
|
|
tests/catch.test\
|
|
tests/psyntax.test\
|
|
tests/pmatch.test\
|
|
tests/let-syntax.test\
|
|
tests/guile.test\
|
|
tests/record.test\
|
|
tests/match.test\
|
|
tests/peg.test\
|
|
#
|
|
|
|
MES-0:=guile/mes-0.scm
|
|
TEST:=guile-check
|
|
$(TEST):
|
|
set -e; for i in $(TESTS); do\
|
|
$(GUILE) -s <(cat $(MES-0) module/mes/test.mes $$i);\
|
|
done
|
|
include make/check.make
|
|
|
|
TEST:=mes-check
|
|
$(TEST): $(OUT)/mes
|
|
set -e; for i in $(TESTS); do MES_MAX_ARENA=20000000 ./$$i; done
|
|
include make/check.make
|