Skip to content

Commit

Permalink
Address style, formatting, and typos from PR TriBITSPub#485 (TriBITSP…
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlettroscoe committed Jun 10, 2022
1 parent f2b7dba commit 165afca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/ctest_driver/TribitsExampleMetaProject/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,16 @@ set(TribitsExampleMetaProject_COMMON_CONFIG_ARGS
##########################################################################################


set(cdash_build_url_expected_regex
set(cdash_build_url_expected_regex
"https://testing[.]sandia[.]gov/cdash/index[.]php[?]project=TribitsExampleMetaProject&filtercount=3&showfilters=1&filtercombine=and&field1=site&compare1=61&value1=CustomSite&field2=buildname&compare2=61&value2=CTestDriver_TribitsExMetaProj_clone_default_branch_remote&field3=buildstamp&compare3=61&value3=[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-Continuous" )
# NOTE: Above, we have to repeat [0-9] 8 times and 4 times for the regex for
# the number of digits in the buildstarttime. CMake regex does not support
# \d{8}-\d{4} :-(

set(cdash_revisions_builds_url_expected_regex
set(cdash_revisions_builds_url_expected_regex
"https://testing[.]sandia[.]gov/cdash/index.php[?]project=TribitsExampleMetaProject&filtercount=1&showfilters=1&field1=revision&compare1=61&value1=863461e3035d24c632e175c087761e83db28bdc3")

set(cdash_revisions_nonpassing_tests_expected_regex
set(cdash_revisions_nonpassing_tests_expected_regex
"https://testing[.]sandia[.]gov/cdash/queryTests.php[?]project=TribitsExampleMetaProject&filtercount=2&showfilters=1&filtercombine=and&field1=revision&compare1=61&value1=863461e3035d24c632e175c087761e83db28bdc3&field2=status&compare2=62&value2=passed" )


Expand Down
2 changes: 1 addition & 1 deletion tribits/core/utils/TribitsParseArgumentsHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ endfunction()

# @MACRO: tribits_assert_parse_arg_one_or_more_values()
#
# Assert that a set of parse argument have at least one value
# Assert that a set of parse arguments have at least one value
#
# Usage::
#
Expand Down
4 changes: 2 additions & 2 deletions tribits/ctest_driver/TribitsGetCDashUrlsInsideCTestS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,8 @@ function(tribits_get_cdash_site_from_drop_site_and_location)
tribits_assert_parse_arg_one_value(PREFIX CTEST_DROP_LOCATION)
tribits_assert_parse_arg_one_value(PREFIX CDASH_SITE_URL_OUT)
# Get the full CDash site from parts
string(FIND "${PREFIX_CTEST_DROP_LOCATION}" "?" endOfSubmitPhpIdx)
string(SUBSTRING "${PREFIX_CTEST_DROP_LOCATION}" 0 ${endOfSubmitPhpIdx} submitPhpPart)
string(FIND "${PREFIX_CTEST_DROP_LOCATION}" "?" beginningOfQueryString)
string(SUBSTRING "${PREFIX_CTEST_DROP_LOCATION}" 0 ${beginningOfQueryString} submitPhpPart)
string(REPLACE "/submit.php" "" endCDashUrl "${submitPhpPart}")
set(cdashSiteUrl "${PREFIX_CTEST_DROP_SITE}${endCDashUrl}")
set(${PREFIX_CDASH_SITE_URL_OUT} "https://${cdashSiteUrl}" PARENT_SCOPE)
Expand Down

0 comments on commit 165afca

Please sign in to comment.