1 # Copyright
(C
) 2021-2024 Free Software Foundation
, Inc.
3 # This
program is free software
; you can redistribute it and
/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation
; either version
3 of the License
, or
6 #
(at your option
) any later version.
8 # This
program is distributed in the hope that it will be useful
,
9 # but WITHOUT
ANY WARRANTY
; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License
for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with GCC
; see the file COPYING3.
If not see
15 #
<http
://www.gnu.org
/licenses
/>.
17 load_lib libphobos
-dg.exp
19 set dg
-output
-text [list
]
21 # Test
, arguments to pass to the test
program, and
return code.
22 set config_test_list
[list \
23 { test19433
"--DRT-dont-eat-me" 0 } \
24 { test20459
"foo bar -- --DRT-gcopts=profile:1" 0 } \
25 { test22523
"-- --DRT-testmode=run-main" 0 } \
32 foreach config_test $config_test_list
{
33 set test
"$srcdir/$subdir/[lindex $config_test 0].d"
35 set libphobos_run_args
"[lindex $config_test 1]"
36 set shouldfail
[lindex $config_test
2]
37 set libphobos_test_name
"[dg-trim-dirname $srcdir $test] $libphobos_run_args"
39 dg
-runtest $test
"" $DEFAULT_DFLAGS
41 set libphobos_test_name
""
43 set libphobos_run_args
""