comparison gcc/testsuite/g++.dg/coroutines/torture/coro-torture.exp @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 # This harness is for tests that should be run at all optimisation levels.
2
3 load_lib g++-dg.exp
4 load_lib torture-options.exp
5
6 global DG_TORTURE_OPTIONS LTO_TORTURE_OPTIONS
7
8 dg-init
9 torture-init
10
11 set DEFAULT_COROFLAGS $DEFAULT_CXXFLAGS
12 lappend DEFAULT_COROFLAGS "-std=c++17" "-fcoroutines"
13
14 set-torture-options [concat $DG_TORTURE_OPTIONS $LTO_TORTURE_OPTIONS]
15
16 gcc-dg-runtest [lsort [glob $srcdir/$subdir/*.C]] "" $DEFAULT_COROFLAGS
17
18 torture-finish
19 dg-finish