components/tidy/patches/system-test.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Wed, 02 Dec 2015 04:42:16 -0800
changeset 5149 651acf52b7a3
parent 4732 d072001cb0ea
permissions -rw-r--r--
22299631 Upgrade Apache Tomcat to version 8.0.29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4732
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
Patch to allow us to specify an alternate tidy binary when running tests.
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
This patch should be sent upstream.
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
--- tidy-1.0.0/test/testone.sh.orig	2015-07-31 11:20:28.840693501 -0700
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
+++ tidy-1.0.0/test/testone.sh	2015-07-31 11:20:59.008447677 -0700
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
@@ -24,7 +24,7 @@
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
 
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
 TESTNO=$1
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 EXPECTED=$2
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
-TIDY=../console/tidy
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
+TIDY="${TIDY_BIN:-../console/tidy}"
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 INFILES=./input/in_${TESTNO}.*ml
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
 CFGFILE=./input/cfg_${TESTNO}.txt
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15