From f5a5ac4520a18b6cf212010f6eee2f80024aa7f8 Mon Sep 17 00:00:00 2001 From: Gary Klimowicz Date: Wed, 19 Dec 2018 17:18:53 -0800 Subject: [PATCH] Allow PASSED to be a valid flang PASS output This has no impact on the current Flang test results yet. This is in anticipation of additional tests being added. --- test/f90_correct/lit/runmake | 4 ++-- test/mp_correct/lit/runmake | 4 ++-- test/openmp_examples/lit/runmake | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/f90_correct/lit/runmake b/test/f90_correct/lit/runmake index fc1ce7b2082..05a6acfe9a1 100644 --- a/test/f90_correct/lit/runmake +++ b/test/f90_correct/lit/runmake @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,4 +33,4 @@ export PATH=$PATH:$(pwd) make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" build 2>&1 make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" run 2>&1 make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" verify 2>&1 -# CHECK: {{([1-9][0-9]* tests PASSED\. 0 tests failed|^[[:space:]]*PASS[[:space:]])}} +# CHECK: {{([1-9][0-9]* tests PASSED\. 0 tests failed|^[[:space:]]*PASS[[:space:]]|^[[:space:]]*PASSED[[:space:]]*$)}} diff --git a/test/mp_correct/lit/runmake b/test/mp_correct/lit/runmake index fc1ce7b2082..05a6acfe9a1 100644 --- a/test/mp_correct/lit/runmake +++ b/test/mp_correct/lit/runmake @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,4 +33,4 @@ export PATH=$PATH:$(pwd) make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" build 2>&1 make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" run 2>&1 make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" verify 2>&1 -# CHECK: {{([1-9][0-9]* tests PASSED\. 0 tests failed|^[[:space:]]*PASS[[:space:]])}} +# CHECK: {{([1-9][0-9]* tests PASSED\. 0 tests failed|^[[:space:]]*PASS[[:space:]]|^[[:space:]]*PASSED[[:space:]]*$)}} diff --git a/test/openmp_examples/lit/runmake b/test/openmp_examples/lit/runmake index fc1ce7b2082..05a6acfe9a1 100644 --- a/test/openmp_examples/lit/runmake +++ b/test/openmp_examples/lit/runmake @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -33,4 +33,4 @@ export PATH=$PATH:$(pwd) make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" build 2>&1 make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" run 2>&1 make -f $MAKE_FILE HOMEQA=$MAKE_FILE_DIR TEST=$test_name OPT="$FLAGS" verify 2>&1 -# CHECK: {{([1-9][0-9]* tests PASSED\. 0 tests failed|^[[:space:]]*PASS[[:space:]])}} +# CHECK: {{([1-9][0-9]* tests PASSED\. 0 tests failed|^[[:space:]]*PASS[[:space:]]|^[[:space:]]*PASSED[[:space:]]*$)}}