Skip to content

Commit 73f526c

Browse files
committed
Allow deprecation warnings when testing intelflag/gccflag
1 parent bac012a commit 73f526c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/framework/toolchain.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ def test_compiler_dependent_optarch(self):
795795
tc_pgi = ('PGI', '16.7-GCC-5.4.0-2.26')
796796
enabled = [True, False]
797797

798+
self.allow_deprecated_behaviour() # when testing optarch flags without initial "-" (remove in EB 6.0)
798799
test_cases = []
799800
for i, (tc, options) in enumerate(zip((tc_intel, tc_gcc, tc_gcccore),
800801
(intel_options, gcc_options, gcccore_options))):
@@ -2298,7 +2299,7 @@ def test_independence(self):
22982299
('CrayGNU', '2015.06-XC'),
22992300
('CrayIntel', '2015.06-XC'),
23002301
]
2301-
self.allow_deprecated_behaviour() # test will be automatically converted to -test
2302+
self.allow_deprecated_behaviour() # test will be automatically converted to -test (remove in 6.0)
23022303
else:
23032304
self.disallow_deprecated_behaviour()
23042305

0 commit comments

Comments
 (0)