re PR c++/86443 (ICEs on #pragma omp distribute parallel for with class iterators)
[gcc.git] / libgomp / testsuite / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 AUTOMAKE_OPTIONS = foreign dejagnu
4
5 # May be used by various substitution variables.
6 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
7
8 EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \
9 echo $(top_builddir)/../expect/expect; else echo expect; fi)
10
11 _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \
12 echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi)
13 RUNTEST = "$(_RUNTEST) $(AM_RUNTESTFLAGS)"
14
15
16 # Instead of directly in ../testsuite/libgomp-test-support.exp.in, the
17 # following variables have to be "routed through" this Makefile, for expansion
18 # of the several (Makefile) variables used therein.
19 libgomp-test-support.exp: libgomp-test-support.pt.exp Makefile
20 cp $< $@.tmp
21 echo >> $@.tmp \
22 'set offload_additional_options "$(offload_additional_options)"'
23 echo >> $@.tmp \
24 'set offload_additional_lib_paths "$(offload_additional_lib_paths)"'
25 mv $@.tmp $@
26
27 all-local: libgomp-test-support.exp