Debian Codegraph @

gcc/testsuite/gm2.dg/doc/examples/plugin/fail/doc-examples-plugin-fail.exp

raw
1 # Compile tests, no torture testing.
2 #
3 # These tests should all generate errors if the plugin is available.
4
5 # Load support procs.
6 load_lib gm2-dg.exp
7
8 gm2_init_pim4 $srcdir/$subdir
9
10 # Initialize `dg'.
11 dg-init
12
13 # If the --enable-plugin has not been enabled during configure, bail.
14 if { ![info exists TESTING_IN_BUILD_TREE] || ![info exists ENABLE_PLUGIN] } {
15 return
16 }
17
18 # Main loop.
19
20 set tests [lsort [glob -nocomplain $srcdir/$subdir/*.mod]]
21
22 gm2-dg-runtest $tests "" ""
23
24 # All done.
25 dg-finish