]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
New directory: none/tests/scripts
authorFlorian Krohm <florian@eich-krohm.de>
Fri, 3 Apr 2015 15:47:19 +0000 (15:47 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Fri, 3 Apr 2015 15:47:19 +0000 (15:47 +0000)
Move corresponding testcases there.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15065

45 files changed:
configure.ac
none/tests/Makefile.am
none/tests/scripts/Makefile.am [new file with mode: 0644]
none/tests/scripts/bug231357.stderr.exp [moved from none/tests/bug231357.stderr.exp with 100% similarity]
none/tests/scripts/bug231357.stdout.exp [moved from none/tests/bug231357.stdout.exp with 100% similarity]
none/tests/scripts/bug231357.vgtest [moved from none/tests/bug231357.vgtest with 100% similarity]
none/tests/scripts/filter_linenos [moved from none/tests/filter_linenos with 100% similarity]
none/tests/scripts/filter_shell_output [moved from none/tests/filter_shell_output with 100% similarity]
none/tests/scripts/filter_stderr [new file with mode: 0755]
none/tests/scripts/shell [moved from none/tests/shell with 100% similarity]
none/tests/scripts/shell.stderr.exp [moved from none/tests/shell.stderr.exp with 100% similarity]
none/tests/scripts/shell.stderr.exp-dash [moved from none/tests/shell.stderr.exp-dash with 100% similarity]
none/tests/scripts/shell.stderr.exp-dash2 [moved from none/tests/shell.stderr.exp-dash2 with 100% similarity]
none/tests/scripts/shell.stdout.exp [moved from none/tests/shell.stdout.exp with 100% similarity]
none/tests/scripts/shell.vgtest [moved from none/tests/shell.vgtest with 51% similarity]
none/tests/scripts/shell_badinterp [moved from none/tests/shell_badinterp with 100% similarity]
none/tests/scripts/shell_badinterp.stderr.exp [moved from none/tests/shell_badinterp.stderr.exp with 100% similarity]
none/tests/scripts/shell_badinterp.vgtest [moved from none/tests/shell_badinterp.vgtest with 66% similarity]
none/tests/scripts/shell_binaryfile [moved from none/tests/shell_binaryfile with 100% similarity]
none/tests/scripts/shell_binaryfile.stderr.exp [moved from none/tests/shell_binaryfile.stderr.exp with 100% similarity]
none/tests/scripts/shell_binaryfile.vgtest [moved from none/tests/shell_binaryfile.vgtest with 67% similarity]
none/tests/scripts/shell_dir.stderr.exp [moved from none/tests/shell_dir.stderr.exp with 100% similarity]
none/tests/scripts/shell_dir.vgtest [new file with mode: 0644]
none/tests/scripts/shell_nonexec.stderr.exp [moved from none/tests/shell_nonexec.stderr.exp with 100% similarity]
none/tests/scripts/shell_nonexec.vgtest [moved from none/tests/shell_nonexec.vgtest with 63% similarity]
none/tests/scripts/shell_nosuchfile.stderr.exp [moved from none/tests/shell_nosuchfile.stderr.exp with 100% similarity]
none/tests/scripts/shell_nosuchfile.vgtest [moved from none/tests/shell_nosuchfile.vgtest with 67% similarity]
none/tests/scripts/shell_valid1 [moved from none/tests/shell_valid1 with 100% similarity]
none/tests/scripts/shell_valid1.stderr.exp [moved from none/tests/shell_valid1.stderr.exp with 100% similarity]
none/tests/scripts/shell_valid1.vgtest [moved from none/tests/shell_valid1.vgtest with 100% similarity]
none/tests/scripts/shell_valid2 [moved from none/tests/shell_valid2 with 100% similarity]
none/tests/scripts/shell_valid2.stderr.exp [moved from none/tests/shell_valid2.stderr.exp with 100% similarity]
none/tests/scripts/shell_valid2.vgtest [moved from none/tests/shell_valid2.vgtest with 100% similarity]
none/tests/scripts/shell_valid3 [moved from none/tests/shell_valid3 with 100% similarity]
none/tests/scripts/shell_valid3.stderr.exp [moved from none/tests/shell_valid3.stderr.exp with 100% similarity]
none/tests/scripts/shell_valid3.vgtest [moved from none/tests/shell_valid3.vgtest with 100% similarity]
none/tests/scripts/shell_valid4 [moved from none/tests/shell_valid4 with 100% similarity]
none/tests/scripts/shell_valid4.stderr.exp [moved from none/tests/shell_valid4.stderr.exp with 100% similarity]
none/tests/scripts/shell_valid4.stdout.exp [moved from none/tests/shell_valid4.stdout.exp with 100% similarity]
none/tests/scripts/shell_valid4.vgtest [moved from none/tests/shell_valid4.vgtest with 100% similarity]
none/tests/scripts/shell_zerolength [moved from none/tests/shell_zerolength with 100% similarity]
none/tests/scripts/shell_zerolength.stderr.exp [moved from none/tests/shell_zerolength.stderr.exp with 100% similarity]
none/tests/scripts/shell_zerolength.stderr.exp-dash [moved from none/tests/shell_zerolength.stderr.exp-dash with 100% similarity]
none/tests/scripts/shell_zerolength.vgtest [moved from none/tests/shell_zerolength.vgtest with 100% similarity]
none/tests/shell_dir.vgtest [deleted file]

index e731af9ad546dcff1923e2cf088fb64a29f3075e..a9d23108a0d43a726fe0458dfee529ba3c17d80a 100644 (file)
@@ -2998,6 +2998,7 @@ AC_CONFIG_FILES([
    lackey/tests/Makefile
    none/Makefile
    none/tests/Makefile
+   none/tests/scripts/Makefile
    none/tests/amd64/Makefile
    none/tests/ppc32/Makefile
    none/tests/ppc64/Makefile
index 7b346c6c9d517329cd5967a9943490822cb728b2..c56137ef19d944a52cea992d6d94ea2ff53935a1 100644 (file)
@@ -2,6 +2,7 @@
 include $(top_srcdir)/Makefile.tool-tests.am
 
 SUBDIRS = .
+SUBDIRS += scripts
 
 # Arch-specific tests.
 if VGCONF_ARCHS_INCLUDE_X86
@@ -46,16 +47,14 @@ SUBDIRS += x86-linux
 endif
 
 DIST_SUBDIRS = x86 amd64 ppc32 ppc64 arm arm64 s390x mips32 mips64 \
-               linux darwin x86-linux .
+               linux darwin x86-linux scripts .
 
 dist_noinst_SCRIPTS = \
        filter_cmdline0 \
        filter_cmdline1 \
        filter_fdleak \
        filter_ioctl_moans \
-       filter_linenos \
        filter_none_discards \
-       filter_shell_output \
        filter_stderr \
        filter_timestamp \
        allexec_prepare_prereq
@@ -71,7 +70,6 @@ EXTRA_DIST = \
        bigcode.vgtest bigcode.stderr.exp bigcode.stdout.exp \
        bitfield1.stderr.exp bitfield1.vgtest \
        bug129866.vgtest bug129866.stderr.exp bug129866.stdout.exp \
-       bug231357.vgtest bug231357.stderr.exp bug231357.stdout.exp \
        closeall.stderr.exp closeall.vgtest \
        cmdline0.stderr.exp cmdline0.stdout.exp cmdline0.vgtest \
        cmdline1.stderr.exp cmdline1.stdout.exp cmdline1.vgtest \
@@ -150,19 +148,6 @@ EXTRA_DIST = \
        selfrun.stderr.exp selfrun.stdout.exp selfrun.vgtest \
        sem.stderr.exp sem.stdout.exp sem.vgtest \
        semlimit.stderr.exp semlimit.stdout.exp semlimit.vgtest \
-       shell shell.vgtest shell.stderr.exp shell.stderr.exp-dash \
-           shell.stdout.exp shell.stderr.exp-dash2 \
-       shell_badinterp shell_badinterp.vgtest shell_badinterp.stderr.exp \
-       shell_binaryfile shell_binaryfile.vgtest shell_binaryfile.stderr.exp \
-       shell_dir.vgtest shell_dir.stderr.exp \
-       shell_nonexec.vgtest shell_nonexec.stderr.exp \
-       shell_nosuchfile.vgtest shell_nosuchfile.stderr.exp \
-       shell_valid1 shell_valid1.vgtest shell_valid1.stderr.exp \
-       shell_valid2 shell_valid2.vgtest shell_valid2.stderr.exp \
-       shell_valid3 shell_valid3.vgtest shell_valid3.stderr.exp \
-       shell_valid4 shell_valid4.vgtest shell_valid4.stderr.exp shell_valid4.stdout.exp \
-       shell_zerolength shell_zerolength.vgtest shell_zerolength.stderr.exp \
-           shell_zerolength.stderr.exp-dash \
        sha1_test.stderr.exp sha1_test.vgtest \
        shortpush.stderr.exp shortpush.vgtest \
        shorts.stderr.exp shorts.vgtest \
diff --git a/none/tests/scripts/Makefile.am b/none/tests/scripts/Makefile.am
new file mode 100644 (file)
index 0000000..8ff5b88
--- /dev/null
@@ -0,0 +1,24 @@
+
+include $(top_srcdir)/Makefile.tool-tests.am
+
+dist_noinst_SCRIPTS = \
+       filter_linenos \
+       filter_shell_output \
+       filter_stderr
+
+EXTRA_DIST = \
+       bug231357.vgtest bug231357.stderr.exp bug231357.stdout.exp \
+       shell shell.vgtest shell.stderr.exp shell.stderr.exp-dash \
+       shell.stdout.exp shell.stderr.exp-dash2 \
+       shell_badinterp shell_badinterp.vgtest shell_badinterp.stderr.exp \
+       shell_binaryfile shell_binaryfile.vgtest shell_binaryfile.stderr.exp \
+       shell_dir.vgtest shell_dir.stderr.exp \
+       shell_nonexec.vgtest shell_nonexec.stderr.exp \
+       shell_nosuchfile.vgtest shell_nosuchfile.stderr.exp \
+       shell_valid1 shell_valid1.vgtest shell_valid1.stderr.exp \
+       shell_valid2 shell_valid2.vgtest shell_valid2.stderr.exp \
+       shell_valid3 shell_valid3.vgtest shell_valid3.stderr.exp \
+       shell_valid4 shell_valid4.vgtest shell_valid4.stderr.exp \
+       shell_valid4.stdout.exp \
+       shell_zerolength shell_zerolength.vgtest shell_zerolength.stderr.exp \
+       shell_zerolength.stderr.exp-dash 
diff --git a/none/tests/scripts/filter_stderr b/none/tests/scripts/filter_stderr
new file mode 100755 (executable)
index 0000000..f97ddb7
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+dir=`dirname $0`
+
+$dir/../../../tests/filter_stderr_basic |
+
+# Anonymise addresses
+$dir/../../../tests/filter_addresses
similarity index 100%
rename from none/tests/shell
rename to none/tests/scripts/shell
similarity index 51%
rename from none/tests/shell.vgtest
rename to none/tests/scripts/shell.vgtest
index 5236f5debece842165fc2becf7eeb22b1f9f81c9..6deca1f01eef655377de4b83979b4fcc6cff08dd 100644 (file)
@@ -1,3 +1,5 @@
+prereq: rm -rf ./x86 && mkdir x86
 prog: shell
 stderr_filter: filter_shell_output
 vgopts: -q
+cleanup: rm -rf x86
similarity index 66%
rename from none/tests/shell_badinterp.vgtest
rename to none/tests/scripts/shell_badinterp.vgtest
index ec04ecfd4c4315b32cb00301b6779e0437fdf74e..6eab4d07c6329d2493bde41799793870b7799be7 100644 (file)
@@ -1 +1,2 @@
 prog: shell_badinterp
+vgopts: -q
similarity index 67%
rename from none/tests/shell_binaryfile.vgtest
rename to none/tests/scripts/shell_binaryfile.vgtest
index 113d1725941a08e954ba9698bbbf0c8b5dcf240b..67a276ce31b1b3562b17a0a4eaeb46d8e5a29780 100644 (file)
@@ -1 +1,2 @@
 prog: shell_binaryfile
+vgopts: -q
diff --git a/none/tests/scripts/shell_dir.vgtest b/none/tests/scripts/shell_dir.vgtest
new file mode 100644 (file)
index 0000000..6ef444f
--- /dev/null
@@ -0,0 +1,4 @@
+prereq: rm -rf ./x86 && mkdir x86
+prog: x86/
+vgopts: -q
+cleanup: rm -rf ./x86
similarity index 63%
rename from none/tests/shell_nonexec.vgtest
rename to none/tests/scripts/shell_nonexec.vgtest
index 8bd76557f4e1ae0dd30d293fcadf461c9a9537e0..258f6affc5baab82f435dba06353eb0964c88231 100644 (file)
@@ -1 +1,2 @@
 prog: shell.vgtest
+vgopts: -q
similarity index 67%
rename from none/tests/shell_nosuchfile.vgtest
rename to none/tests/scripts/shell_nosuchfile.vgtest
index 13d3e65c10318d16886c1bd007c59967b8871990..1202acf1f484cc12908a109b551c45c8d08b5b77 100644 (file)
@@ -1 +1,2 @@
 prog: shell_nosuchfile
+vgopts: -q
diff --git a/none/tests/shell_dir.vgtest b/none/tests/shell_dir.vgtest
deleted file mode 100644 (file)
index 366f5c8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-prog: x86/