File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ QLTEST_LOG="$CODEQL_EXTRACTOR_SWIFT_LOG_DIR"/qltest.log
6
6
7
7
EXTRACTOR=" $CODEQL_EXTRACTOR_SWIFT_ROOT /tools/$CODEQL_PLATFORM /extractor"
8
8
SDK=" $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}
9
10
10
11
for src in * .swift; do
11
12
env=()
@@ -14,7 +15,7 @@ for src in *.swift; do
14
15
expected_status=$( sed -n ' s=//codeql-extractor-expected-status:[[:space:]]*==p' $src )
15
16
expected_status=${expected_status:- 0}
16
17
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
18
19
env " ${env[@]} " " $EXTRACTOR " " ${opts[@]} " >> $QLTEST_LOG 2>&1
19
20
actual_status=$?
20
21
if [[ $actual_status != $expected_status ]]; then
You can’t perform that action at this time.
0 commit comments