Skip to content

Commit

Permalink
Removed unnecessary check for TRIBITS_DIR env var (#600)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
achauphan committed Feb 13, 2024
1 parent 6c68dbd commit e2473b6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tribits/ci_support/cdash_analyze_and_report_random_failures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit e2473b6

Please sign in to comment.