diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2016-02-08 14:02:36 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2016-02-08 14:02:36 -0500 |
commit | 2151ccc56c74b55a8f0debf0724a495368f92591 (patch) | |
tree | a226fabcfb06aaa6e89836a4a6e3160ba0888c0e /gdb/testsuite/gdb.base | |
parent | 437277d47a15711f29e02e5265ce8bbb8c8ef4f5 (diff) | |
download | gdb-2151ccc56c74b55a8f0debf0724a495368f92591.zip gdb-2151ccc56c74b55a8f0debf0724a495368f92591.tar.gz gdb-2151ccc56c74b55a8f0debf0724a495368f92591.tar.bz2 |
Always organize test artifacts in a directory hierarchy
When running tests in parallel, each test puts its generated files in a
different directory, under "outputs". I think it would be nice if it
was always the case, as it would isolate the test cases a bit more. An
artifact created by a test wouldn't get overwritten by another test.
Also, it makes it easier to clean up. A lot of executables are left all
over the place because their names do not appear in gdb.*/Makefile. If
everything is in "outputs", then we just have to delete that directory
(which we already do).
At the same time it makes the gdb.foo directories and their Makefiles
useless in the build directory, since they are pretty much only used for
cleaning.
What do you think?
gdb/testsuite/ChangeLog:
* Makefile.in (ALL_SUBDIRS): Remove.
(clean mostlyclean): Do not recurse in ALL_SUBDIRS.
(distclean maintainer-clean realclean): Likewise.
* configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
* configure: Regenerate.
* gdb.ada/Makefile.in: Delete.
* gdb.arch/Makefile.in: Likewise.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.btrace/Makefile.in: Likewise.
* gdb.cell/Makefile.in: Likewise.
* gdb.compile/Makefile.in: Likewise.
* gdb.cp/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.dlang/Makefile.in: Likewise.
* gdb.dwarf2/Makefile.in: Likewise.
* gdb.fortran/Makefile.in: Likewise.
* gdb.gdb/Makefile.in: Likewise.
* gdb.go/Makefile.in: Likewise.
* gdb.guile/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.linespec/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.modula2/Makefile.in: Likewise.
* gdb.multi/Makefile.in: Likewise.
* gdb.objc/Makefile.in: Likewise.
* gdb.opencl/Makefile.in: Likewise.
* gdb.opt/Makefile.in: Likewise.
* gdb.pascal/Makefile.in: Likewise.
* gdb.perf/Makefile.in: Likewise.
* gdb.python/Makefile.in: Likewise.
* gdb.reverse/Makefile.in: Likewise.
* gdb.server/Makefile.in: Likewise.
* gdb.stabs/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
* gdb.xml/Makefile.in: Likewise.
* lib/gdb.exp (make_gdb_parallel_path): Add check for
GDB_PARALLEL.
(standard_output_file): Remove check for GDB_PARALLEL, always
return path in outputs/$subdir/$testname.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/Makefile.in | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/gdb/testsuite/gdb.base/Makefile.in b/gdb/testsuite/gdb.base/Makefile.in deleted file mode 100644 index dda3169..0000000 --- a/gdb/testsuite/gdb.base/Makefile.in +++ /dev/null @@ -1,69 +0,0 @@ -VPATH = @srcdir@ -srcdir = @srcdir@ - -EXECUTABLES = a2-run advance all-types annota1 annota1-watch_thread_num \ - annota3 anon args arrayidx async attach attach-pie-misread \ - attach2 auxv bang\! bfp-test bigcore bitfields bitfields2 \ - break break-always break-entry break-interp-test breako2 \ - breakpoint-shadow break-on-linker-gcd-function \ - call-ar-st call-rt-st call-sc-t* call-signals \ - call-strs callexit callfuncs callfwmall charset checkpoint \ - chng-syms code_elim1 code_elim2 commands compiler completion complex \ - condbreak consecutive constvars coremaker cursal cvexpr \ - dbx-test del disasm-end-cu display dprintf-pending dump dup-sect \ - dup-sect.debug \ - dup-sect.stripped ending-run execd-prog expand-psymtabs exprs \ - fileio find finish fixsection float foll-exec foll-fork foll-vfork \ - frame-args freebpcmd fullname funcargs gcore \ - gcore-buffer-overflow-012* \ - gdb1090 gdb11530 gdb11531 gdb1250 gdb1555-main gdb1821 gdbvars \ - hashline1 hashline2 hashline3 hbreak hook-stop-continue \ - hook-stop-frame huge included infnan info-target int-type \ - interrupt jit-main jump label langs lineinc list longjmp long_long \ - macscp mips_pro miscexprs moribund-step multi-forks nodebug \ - nofield nostdlib opaque overlays pc-fp pending permission \ - pie-execl1 pie-execl2 pointers pointers2 pr11022 prelinkt \ - prelinkt.debug prelinkt.stripped printcmds prologue psymtab \ - ptr-typedef ptype randomize recurse relational relativedebug \ - reread reread1 restore return return-nodebug-* return2 run \ - savedregs scope section_command sep sepdebug sepdebug.stripped \ - sepdebug2 sepdebug2.debug sepdebug2.stripped sepsymtab \ - sepsymtab.debug sepsymtab.stripped setshow setvar shmain shreloc \ - sigall sigaltstack sigbpt sigchld siginfo siginfo-addr \ - siginfo-infcall siginfo-obj signals signull sigrepeat sigstep \ - sizeof skip skip-solib solib solib-corrupted solib-display-main \ - solib-nodir solib-overlap-main-0x40000000 solib-symbol-main solib-weak \ - solib-weak-lib2 solib_sl so-impl-ld so-indr-cl \ - stack-checking start step-break step-bt step-line step-resume-infcall \ - step-test store structs-t* structs2 structs3 \ - symbol-without-target_section term tui-layout twice-tmp \ - type-opaque-main ui-redirect unload until unwindonsignal \ - valgrind-db-attach value-double-free varargs vforked-prog \ - volatile watch-cond watch-cond-infcall watch-non-mem watch-read \ - watch-vfork watch_thread_num watchpoint watchpoint-cond-gone \ - watchpoint-hw watchpoint-hw-hit-once watchpoint-solib watchpoints \ - wchar whatis whatis-exp catch-syscall \ - pr10179 gnu_vector - -MISCELLANEOUS = coremmap.data dprintf-pendshr.sl ../foobar.baz fixsectshr.sl \ - pendshr.sl shreloc1.sl shreloc2.sl twice-tmp.c \ - shr1.sl shr2.sl solib_sl.sl solib1.sl solib2.sl \ - unloadshr.sl unloadshr2.sl watchpoint-solib-shr.sl \ - weaklib1.sl weaklib2.sl hashline1.c hashline2.c hashline3.c \ - auxv.gcore bigcore.corefile *.core *.debug *.stripped \ - gcore-buffer-overflow.test gcore.test shreloc.txt tmp-fullname.c - -all info install-info dvi install uninstall installcheck check: - @echo "Nothing to be done for $@..." - -clean mostlyclean: - -rm -f *~ *.o a.out xgdb *.x *.ci *.tmp - -rm -f *.dwo *.dwp - -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) - -rm -f $(MISCELLANEOUS) - -distclean maintainer-clean realclean: clean - -rm -f *~ core - -rm -f Makefile config.status config.log - -rm -f *-init.exp gdb.log gdb.sum - -rm -fr *.log summary detail *.plog *.sum *.psum site.* |