LSL-PyOptimizer/unit_tests/preproc.suite/option-passing.run
Sei Lisa 7eaa4cb0ad Fix --postarg and add option --preproc-show-cmdline + unit test
Thanks to @Blues-Today for reporting that --postarg was not working.

This needed a regression test, and the best way to distinguish --prearg from --postarg is to display the full preprocessor command line, therefore a new option was added for that purpose: --preproc-show-cmdline

Fixes #18.
2022-06-17 16:13:22 +02:00

8 lines
181 B
Text

main.py -y -O clear,processpre \
-p gcpp \
--preproc-show-cmdline \
-P --prefix-test-1 \
-A --suffix-test-1 \
--prearg=--prefix-test-2 \
--postarg=--suffix-test-2 \
-