Hi all, Here's a simple patch to fix a simple problem:
$ make spotless; make check ... gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -fPIC -DPIC -c -g -Wall -Wno-unused csc.c -o csc.o -I. -I./ gcc -L. csc.o -o csc -lchicken -Wl,-R"." -lm -ldl cd tests; sh runtests.sh cp: cannot stat `../setup-api.so': No such file or directory make[1]: *** [check] Error 1 make[1]: Leaving directory `/home/sjamaan/src/chicken-core' make: *** [check] Error 2 With patch: $ make check ... ======================================== done. make[1]: Leaving directory `/home/sjamaan/src/chicken-core' Cheers, Peter -- http://www.more-magic.net
>From b5f80af8b350fd015e94cd9d8d1538263d99571b Mon Sep 17 00:00:00 2001 From: Peter Bex <[email protected]> Date: Mon, 5 May 2014 12:20:22 +0200 Subject: [PATCH] Use TARGETS as dependency for "check" target to ensure that everything's built before testing. --- rules.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.make b/rules.make index cf8da06..e9bf3b3 100644 --- a/rules.make +++ b/rules.make @@ -653,7 +653,7 @@ testclean: .PHONY: check -check: $(CHICKEN_SHARED_EXECUTABLE) $(CSI_SHARED_EXECUTABLE) $(CSC_PROGRAM)$(EXE) +check: $(TARGETS) ifndef WINDOWS_SHELL cd tests; sh runtests.sh else -- 1.7.10.4
_______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
