739ce79e21
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
19 lines
488 B
Bash
Executable File
19 lines
488 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
. ${srcdir}/common
|
|
|
|
# Check quoted variables are stripped. In 0.28 and earlier, this would
|
|
# contain the "" quotes.
|
|
RESULT='/local/include'
|
|
run_test --variable=includedir variables
|
|
|
|
# Non-quoted variables are output as is. In 0.29, the \ would be stripped.
|
|
RESULT='-I"/local/include"/foo -DFOO=\"/bar\"'
|
|
run_test --variable=cppflags variables
|
|
|
|
# Check the entire cflags output
|
|
RESULT='-DFOO=\"/bar\" -I/local/include -I/local/include/foo'
|
|
run_test --cflags variables
|