forked from alex-eg/sex
check sexc's command line on a sexc process
The -- split, the -o - spelling and the dependency rule were exported to be unit tested, as lists and strings sexc might never hand on; a stand-in cc and the depfile show what it does hand on.
This commit is contained in:
5
Makefile
5
Makefile
@@ -90,9 +90,10 @@ check run-tests: sexc sex-tests sextest
|
||||
./sextest --sexc=./sexc $(SEX_TEST_PROGRAMS)
|
||||
@$(MAKE) --no-print-directory check-modules
|
||||
@$(MAKE) --no-print-directory check-exit-code
|
||||
@$(MAKE) --no-print-directory check-command-line
|
||||
|
||||
# The end-to-end checks, each on its own: run with the eggs on the path
|
||||
check-modules check-exit-code: check-%: sexc
|
||||
check-modules check-exit-code check-command-line: check-%: sexc
|
||||
cd tests/$* && SEXC='$(CURDIR)/sexc' $(CSI) -s check.scm
|
||||
|
||||
install: all installdirs
|
||||
@@ -116,4 +117,4 @@ clean:
|
||||
rm -f *.link $(PROGRAM_OBJ:.o=.link)
|
||||
rm -f $(PROGRAM_NAMES)
|
||||
|
||||
.PHONY: all check run-tests check-modules check-exit-code install install-strip installdirs uninstall clean FORCE
|
||||
.PHONY: all check run-tests check-modules check-exit-code check-command-line install install-strip installdirs uninstall clean FORCE
|
||||
|
||||
Reference in New Issue
Block a user