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:
4
tests/command-line/cc
Executable file
4
tests/command-line/cc
Executable 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"
|
||||
Reference in New Issue
Block a user