From a43dc3694b174b0a30653a69aba542f5f26be905 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 13 May 2019 17:09:45 +0100 Subject: [PATCH] ci: filp some double negatives -ne 0 -> -eq 1 We somewhat consistently use the latter anyway. Signed-off-by: Emil Velikov Reviewed-by: Elie Tournier --- ci/run_test_suite.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/run_test_suite.sh b/ci/run_test_suite.sh index 259a8e1..4060519 100755 --- a/ci/run_test_suite.sh +++ b/ci/run_test_suite.sh @@ -107,7 +107,7 @@ parse_input() fi # These two options are incompatible, and one has to be disabled - if [ $VERIFY_UNRELIABLE_TESTS -ne 0 ]; then + if [ $VERIFY_UNRELIABLE_TESTS -eq 1 ]; then COMPARE_PREVIOUS=0 fi } @@ -159,7 +159,7 @@ interpret_results() PASSED_TESTS="$1" TOTAL_TESTS="$2" - if [ $COMPARE_PREVIOUS -ne 0 ]; then + if [ $COMPARE_PREVIOUS -eq 1 ]; then compare_previous case $? in 0) @@ -196,7 +196,7 @@ interpret_results() run_vtest_server() { ( - if [ $USE_HOST_GLES -ne 0 ]; then + if [ $USE_HOST_GLES -eq 1 ]; then VTEST_USE_EGL_SURFACELESS=1 \ VTEST_USE_GLES=1 \ virgl_test_server &>$VTEST_LOG_FILE &