Skip to content

Commit 974201d

Browse files
committed
Explicitly request gcc for the test
1 parent d7ff5fa commit 974201d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/CXX/CXX-modules-fixture/SConstruct

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
env = Environment()
2+
try:
3+
env.Tool(ARGUMENTS["toolset"])
4+
except KeyError:
5+
pass
26

37
env.Append(CXXFLAGS = ["-std=c++20"])
48
env['CXXMODULEPATH'] = "cxx-scons-modules"

test/CXX/CXXMODULES-gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

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

7-
test.run(arguments = ".")
7+
test.run(arguments = ". toolset=g++")
88

99
test.pass_test()
1010

0 commit comments

Comments
 (0)