From e2473b615d32e0ece8268e8b9360eef0cd66d956 Mon Sep 17 00:00:00 2001 From: Anderson Chauphan Date: Tue, 6 Feb 2024 13:19:23 -0700 Subject: [PATCH] Removed unnecessary check for TRIBITS_DIR env var (#600) This check was left in from an initial starting script. After adding cdash_analyze_and_report_random_failures_UnitTests.py as a ctest test, this check would cause CI ctest runs to fail as TRIBITS_DIR is set on a project basis during testing. --- .../cdash_analyze_and_report_random_failures.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tribits/ci_support/cdash_analyze_and_report_random_failures.py b/tribits/ci_support/cdash_analyze_and_report_random_failures.py index 9b77b989f..9cc1c918a 100755 --- a/tribits/ci_support/cdash_analyze_and_report_random_failures.py +++ b/tribits/ci_support/cdash_analyze_and_report_random_failures.py @@ -10,17 +10,9 @@ # Implementation code # -# Find the implementation -tribitsDir = os.environ.get("TRIBITS_DIR", "") -if tribitsDir: - sys.path = [os.path.join(tribitsDir, "ci_support")] + sys.path -else: - raise Exception("ERROR, TRIBITS_DIR must be set in the env to 'tribits' base dir!") - -import CreateIssueTrackerFromCDashQuery as CITFCQ +from FindGeneralScriptSupport import * import CDashQueryAnalyzeReport as CDQAR import cdash_build_testing_date as CBTD -from FindGeneralScriptSupport import * usageHelp = \ r"""