1
0
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:
2026-10-20 11:51:31 +03:00
parent ab881e4c31
commit 600b4801de
8 changed files with 126 additions and 91 deletions

View File

@@ -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