Skip to content

Commit

Permalink
Explicitly request gcc for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Nov 19, 2022
1 parent d7ff5fa commit 974201d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions test/CXX/CXX-modules-fixture/SConstruct
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
env = Environment()
try:
env.Tool(ARGUMENTS["toolset"])
except KeyError:
pass

env.Append(CXXFLAGS = ["-std=c++20"])
env['CXXMODULEPATH'] = "cxx-scons-modules"
Expand Down
2 changes: 1 addition & 1 deletion test/CXX/CXXMODULES-gcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

test.dir_fixture("CXX-modules-fixture")

test.run(arguments = ".")
test.run(arguments = ". toolset=g++")

test.pass_test()

Expand Down

0 comments on commit 974201d

Please sign in to comment.