aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/Makefile.am
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2009-12-02 14:51:22 +0000
committerRafael Ávila de Espíndola <respindola@mozilla.com>2009-12-02 14:51:22 +0000
commit325e6408a8d7bc42a5997c34615c91cac1e0a6b0 (patch)
tree40933ca74b710b354bd6c3a089ae3f47d452c1c6 /gold/testsuite/Makefile.am
parente05da72d4d8289607dfc3f320ce28c25ed939f82 (diff)
downloadgdb-325e6408a8d7bc42a5997c34615c91cac1e0a6b0.zip
gdb-325e6408a8d7bc42a5997c34615c91cac1e0a6b0.tar.gz
gdb-325e6408a8d7bc42a5997c34615c91cac1e0a6b0.tar.bz2
2009-12-02 Rafael Avila de Espindola <espindola@google.com>
* testsuite/Makefile.am: Add the incremental_test.sh test. * testsuite/incremental_test.sh: New. * testsuite/incremental_test_1.c: New. * testsuite/incremental_test_2.c: New.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r--gold/testsuite/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index 0351828..54e8843 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -105,6 +105,17 @@ flagstest_debug.o: constructor_test.cc
flagstest_ndebug.o: constructor_test.cc
$(CXXCOMPILE) -O0 -c -o $@ $<
+check_SCRIPTS += incremental_test.sh
+check_DATA += incremental_test.stdout
+MOSTLYCLEANFILES += incremental_test
+incremental_test_1.o: incremental_test_1.c
+ $(COMPILE) -O0 -c -ffunction-sections -g -o $@ $<
+incremental_test_2.o: incremental_test_2.c
+ $(COMPILE) -O0 -c -ffunction-sections -g -o $@ $<
+incremental_test: incremental_test_1.o incremental_test_2.o gcctestdir/ld
+ $(LINK) -Bgcctestdir/ -Wl,-incremental incremental_test_1.o incremental_test_2.o -Wl,-debug 2> incremental_test.cmdline
+incremental_test.stdout: incremental_test ../incremental-dump
+ ../incremental-dump incremental_test > $@
check_SCRIPTS += gc_comdat_test.sh
check_DATA += gc_comdat_test.stdout