Skip to content

Commit

Permalink
Disable LTTNG in runtime tests by default (#67937)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyosjs committed Apr 13, 2022
1 parent f2ce5e8 commit 7eb5d7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function print_usage {
echo ' Android : Set build OS to Android.'
echo ' --test-env=<path> : Script to set environment variables for tests'
echo ' --testRootDir=<path> : Root directory of the test build (e.g. runtime/artifacts/tests/windows.x64.Debug).'
echo ' --disableEventLogging : Disable the events logged by both VM and Managed Code'
echo ' --enableEventLogging : Enable event logging through LTTNG.'
echo ' --sequential : Run tests sequentially (default is to run in parallel).'
echo ' --runcrossgen2tests : Runs the ReadyToRun tests compiled with Crossgen2'
echo ' --jitstress=<n> : Runs the tests with COMPlus_JitStress=n'
Expand Down Expand Up @@ -163,8 +163,8 @@ do
--testRootDir=*)
testRootDir=${i#*=}
;;
--disableEventLogging)
((disableEventLogging = 1))
--enableEventLogging)
((eventLogging = 1))
;;
--runcrossgen2tests)
export RunCrossGen2=1
Expand Down Expand Up @@ -215,7 +215,7 @@ done
# (These should be run.py arguments.)
################################################################################

if ((disableEventLogging == 0)); then
if ((eventLogging == 1)); then
export COMPlus_EnableEventLog=1
fi

Expand Down

0 comments on commit 7eb5d7b

Please sign in to comment.