Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp
This commit is contained in:
parent
108f145ba4
commit
67d9694933
|
@ -34,9 +34,9 @@ set objects "$tmpdir/cdtest-main.o $tmpdir/cdtest-func.o $tmpdir/cdtest-foo.o"
|
|||
|
||||
verbose "### Compiling dependant objects\n"
|
||||
|
||||
ld_compile $CXX $srcdir/$subdir/cdtest-foo.cc $tmpdir/cdtest-foo.o
|
||||
ld_compile $CXX $srcdir/$subdir/cdtest-func.cc $tmpdir/cdtest-func.o
|
||||
ld_compile $CXX $srcdir/$subdir/cdtest-main.cc $tmpdir/cdtest-main.o
|
||||
ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-foo.cc $tmpdir/cdtest-foo.o
|
||||
ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-func.cc $tmpdir/cdtest-func.o
|
||||
ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-main.cc $tmpdir/cdtest-main.o
|
||||
|
||||
#
|
||||
# main test loop
|
||||
|
@ -56,7 +56,7 @@ foreach test [glob -nocomplain $srcdir/$subdir/*.dat] {
|
|||
|
||||
# load (execute) the target
|
||||
if ![file exists $tmptarget] then {
|
||||
unresolved "$tmptarget doesn't exist." $result
|
||||
unresolved "$tmptarget doesn't exist. $result"
|
||||
} else {
|
||||
catch "exec $tmptarget > $tmptarget.out" exec_output
|
||||
|
||||
|
|
Loading…
Reference in New Issue