]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-09-20 David Carlton <carlton@math.stanford.edu>
authorDavid Carlton <carlton@bactrian.org>
Fri, 20 Sep 2002 23:53:54 +0000 (23:53 +0000)
committerDavid Carlton <carlton@bactrian.org>
Fri, 20 Sep 2002 23:53:54 +0000 (23:53 +0000)
* carlton_runtest: New file.

gdb/testsuite/ChangeLog
gdb/testsuite/carlton_runtest [new file with mode: 0755]

index 37d3d6bd4519c15aa9bf13e2615003635b97b507..8a7841dd0c6907cadc896e92b15fd9c511749f41 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-20  David Carlton  <carlton@math.stanford.edu>
+
+       * carlton_runtest: New file.
+
 2002-09-19  Jim Blandy  <jimb@redhat.com>
 
         * gdb.base/charset.exp, gdb.base/charset.c: New files.
diff --git a/gdb/testsuite/carlton_runtest b/gdb/testsuite/carlton_runtest
new file mode 100755 (executable)
index 0000000..de1d950
--- /dev/null
@@ -0,0 +1,58 @@
+#!/bin/bash
+
+# This is intended to run some of the tests that might be relevant to
+# work on carlton_dictionary-branch.  I'm intending to run this
+# frequently after compiling, so I want to pick out relevant tests and
+# sort them by speed.  That way, it's perhaps less of a deal if I get
+# bored in the middle of running tests and interrupt this.
+
+# 5 seconds or so each.
+FASTTESTS="gdb.base/assign.exp \
+  gdb.base/constvars.exp \
+  gdb.base/cvexpr.exp \
+  gdb.base/dump.exp \
+  gdb.base/opaque.exp \
+  gdb.base/ptype.exp \
+  gdb.base/reread.exp \
+  gdb.base/return.exp \
+  gdb.base/return2.exp \
+  gdb.base/sizeof.exp \
+  gdb.base/structs.exp \
+  gdb.base/varargs.exp \
+  gdb.c++/ambiguous.exp \
+  gdb.c++/derivation.exp \
+  gdb.c++/local.exp \
+  gdb.c++/m-data.exp \
+  gdb.c++/m-static.exp \
+  gdb.c++/method.exp"
+
+# 6 seconds or more (usually around 10).
+MEDTESTS="gdb.base/exprs.exp \
+  gdb.base/funcargs.exp \
+  gdb.base/scope.exp \
+  gdb.base/setvar.exp \
+  gdb.c++/classes.exp \
+  gdb.c++/namespace.exp \
+  gdb.c++/overload.exp \
+  gdb.c++/templates.exp \
+  gdb.c++/userdef.exp \
+  gdb.c++/virtfunc.exp"
+
+# 15 seconds or more.
+SLOWTESTS="gdb.base/callfuncs.exp \
+  gdb.base/completion.exp \
+  gdb.base/printcmds.exp \
+  gdb.c++/cplusfuncs.exp \
+  gdb.c++/demangle.exp"
+
+echo "Running fast tests."
+runtest ${FASTTESTS} 2>&1 | grep -v "^Test Run By" > /tmp/fastout
+diff -u {/tmp/,carlton_}fastout
+echo "Running medium tests."
+runtest ${MEDTESTS} 2>&1 | grep -v "^Test Run By" > /tmp/medout
+diff -u {/tmp/,carlton_}medout
+echo "Running slow tests."
+runtest ${SLOWTESTS} 2>&1 | grep -v "^Test Run By" > /tmp/slowout
+diff -u {/tmp/,carlton_}slowout
+
+echo "Done."