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

4
tests/command-line/cc Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
# Stands in for the C compiler: writes the arguments it was given, one
# to a line, to $CC_ARGUMENTS
printf '%s\n' "$@" > "$CC_ARGUMENTS"