File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ QLTEST_LOG="$CODEQL_EXTRACTOR_SWIFT_LOG_DIR"/qltest.log
66
77EXTRACTOR=" $CODEQL_EXTRACTOR_SWIFT_ROOT /tools/$CODEQL_PLATFORM /extractor"
88SDK=" $CODEQL_EXTRACTOR_SWIFT_ROOT /qltest/$CODEQL_PLATFORM /sdk"
9+ export CODEQL_EXTRACTOR_SWIFT_LOG_LEVELS=${CODEQL_EXTRACTOR_SWIFT_LOG_LEVELS:- out: text: no_logs,out: console: info}
910
1011for src in * .swift; do
1112 env=()
@@ -14,7 +15,7 @@ for src in *.swift; do
1415 expected_status=$( sed -n ' s=//codeql-extractor-expected-status:[[:space:]]*==p' $src )
1516 expected_status=${expected_status:- 0}
1617 env+=($( sed -n ' 1 s=//codeql-extractor-env:==p' $src ) )
17- echo -e " calling extractor with flags: ${opts[@]} \n " >> $QLTEST_LOG
18+ echo >> $QLTEST_LOG
1819 env " ${env[@]} " " $EXTRACTOR " " ${opts[@]} " >> $QLTEST_LOG 2>&1
1920 actual_status=$?
2021 if [[ $actual_status != $expected_status ]]; then
You can’t perform that action at this time.
0 commit comments