summaryrefslogtreecommitdiff
path: root/test/Configure
diff options
context:
space:
mode:
authorJacob Cassagnol <87133045+jcassagnol-public@users.noreply.github.com>2021-11-09 13:52:41 -0500
committerJacob Cassagnol <87133045+jcassagnol-public@users.noreply.github.com>2021-11-09 13:52:41 -0500
commit0ff59496095c92ad23b0f09b488c7f49886cd794 (patch)
tree7c40bc1446f51f91702a7354f8770063fa0b4f3d /test/Configure
parent699d6b0d571827de973e027d765f64b629f08ed9 (diff)
downloadscons-git-0ff59496095c92ad23b0f09b488c7f49886cd794.tar.gz
Fixing slider issues identified:
The linter identified that warnings was unused in hash-format.py The linter found that the skip_test function call was using 2 space indentation (not sure how I managed to do that). Warning was originally added as hash-format gave a warning on ALLOWED_HASH_FORMATS != default That was changed to instead test the different cases directly. option--config.py skips the test if the default algorithm is not MD5 as the hashes used are OS-specific, and supporting it in FIPS mode would be difficult. It's better to just skip this testcase in FIPS mode instead as this specific test is different in that regard to the other FIPS-enabled tests.
Diffstat (limited to 'test/Configure')
-rw-r--r--test/Configure/option--config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Configure/option--config.py b/test/Configure/option--config.py
index 3b3889267..3fd0691df 100644
--- a/test/Configure/option--config.py
+++ b/test/Configure/option--config.py
@@ -46,7 +46,7 @@ CF = test.CF # cached build failure
# as this test is somewhat complicated, skip it if the library doesn't support md5
# as the default hashing algorithm.
if get_current_hash_algorithm_used() != 'md5':
- test.skip_test('Skipping test as could not continue without the hash algorithm set to md5!')
+ test.skip_test('Skipping test as could not continue without the hash algorithm set to md5!')
SConstruct_path = test.workpath('SConstruct')