diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/wrapper-compiler-errors | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wrapper-compiler-errors b/tests/wrapper-compiler-errors index 8a8aa20..a9c5024 100755 --- a/tests/wrapper-compiler-errors +++ b/tests/wrapper-compiler-errors @@ -36,7 +36,8 @@ test_status=0 # Before starting, work out the compiler’s system include paths. # Thanks to: http://stackoverflow.com/a/17940271/2931197 system_includes=`echo | cpp -Wp,-v 2>&1 | grep '^[[:space:]]' | \ - sed -e 's/^[[:space:]]*/-isystem/' | tr "\n" ' '` + sed -e 's/^[[:space:]]*/-isystem/' -e 's/ (framework directory)//' | \ + tr "\n" ' '` # Extract the template name. template_name=`head -n 1 "${input_filename}" | \ |