summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Cassagnol <87133045+jcassagnol-public@users.noreply.github.com>2021-11-10 10:07:35 -0500
committerJacob Cassagnol <87133045+jcassagnol-public@users.noreply.github.com>2021-11-10 10:07:35 -0500
commit1ace1cff2b4b5950175a9582ed5b762a9b9c4f2d (patch)
tree732a11551b6c67914036183af44f8a80c8cfd143
parentda5c6191b3e4d60f08d0b15c89e8621d8db976d8 (diff)
downloadscons-git-1ace1cff2b4b5950175a9582ed5b762a9b9c4f2d.tar.gz
Two more f-strings got away.
These lines setup the sconsign program to use the correct filename for the test.
-rw-r--r--test/Configure/implicit-cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Configure/implicit-cache.py b/test/Configure/implicit-cache.py
index fb7d76669..2cf74d17e 100644
--- a/test/Configure/implicit-cache.py
+++ b/test/Configure/implicit-cache.py
@@ -97,7 +97,7 @@ else:
database_name=test.get_sconsignname() + ".dblite"
-test.run_sconsign(f'-d .sconf_temp -e {test_filename} --raw {database_name}')
+test.run_sconsign('-d .sconf_temp -e {} --raw {}'.format(test_filename, database_name))
old_sconsign_dblite = test.stdout()
# Second run: Have the configure subsystem also look for foo.h, so
@@ -110,7 +110,7 @@ old_sconsign_dblite = test.stdout()
test.run(arguments = '--implicit-cache USE_FOO=1 .')
-test.run_sconsign(f'-d .sconf_temp -e {test_filename} --raw {database_name}')
+test.run_sconsign('-d .sconf_temp -e {} --raw {}'.format(test_filename, database_name))
new_sconsign_dblite = test.stdout()
if old_sconsign_dblite != new_sconsign_dblite: