739ce79e21
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
29 lines
601 B
Bash
Executable File
29 lines
601 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
. ${srcdir}/common
|
|
|
|
RESULT=""
|
|
run_test --cflags simple
|
|
|
|
RESULT=""
|
|
run_test --cflags fields-blank
|
|
|
|
RESULT="-DOTHER -I/other/include"
|
|
run_test --cflags other
|
|
|
|
RESULT="-I/other/include"
|
|
run_test --cflags-only-I other
|
|
|
|
RESULT="-DOTHER"
|
|
run_test --cflags-only-other other
|
|
|
|
# Try various mixed combinations
|
|
RESULT="-DOTHER -I/other/include"
|
|
run_test --cflags-only-I --cflags-only-other other
|
|
run_test --cflags-only-other --cflags-only-I other
|
|
run_test --cflags --cflags-only-I --cflags-only-other other
|
|
run_test --cflags --cflags-only-I other
|
|
run_test --cflags --cflags-only-other other
|