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.cp | |
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.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/Makefile.in | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/testsuite/gdb.cp/Makefile.in b/gdb/testsuite/gdb.cp/Makefile.in deleted file mode 100644 index 2958e24..0000000 --- a/gdb/testsuite/gdb.cp/Makefile.in +++ /dev/null @@ -1,28 +0,0 @@ -VPATH = @srcdir@ -srcdir = @srcdir@ - -EXECUTABLES = abstract-origin ambiguous annota2 annota3 anon-union \ - arg-reference bool breakpoint bs15503 call-c casts class2 \ - classes converts cpexprs cplusfuncs cttiadd derivation \ - exception expand-sals extern-c formatted-ref fpointer gdb1355 \ - gdb2384 hang infcall-dlopen inherit koenig local m-data m-static \ - mb-ctor mb-inline mb-templates member-ptr method misc namespace \ - namespace-enum namespace-nested-import nextoverthrow noparam nsdecl \ - nsimport nsnested nsnoimports nsrecurs nsstress nsusing operator \ - oranking overload overload-const ovldbreak pass-by-ref pr-1023 pr-1210 \ - pr-574 pr10728 pr12028 pr9631 printmethod psmang ptype-cv-cp \ - re-set-overloaded ref-typ ref-typ2 rtti shadow smartp temargs \ - templates try_catch typedef-operator userdef virtbase virtfunc \ - ref-types ref-params method2 pr9594 gdb2495 virtfunc2 pr9067 \ - pr1072 pr10687 pr9167 - -all info install-info dvi install uninstall installcheck check: - @echo "Nothing to be done for $@..." - -clean mostlyclean: - -rm -f *~ *.o *.ci - -rm -f *.dwo *.dwp - -rm -f core ${EXECUTABLES} - -distclean maintainer-clean realclean: clean - -rm -f Makefile config.status config.log gdb.log gdb.sum |