components/tidy/patches/system-test.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Wed, 10 Aug 2016 08:54:24 +0000
changeset 6602 162319034b53
parent 4732 d072001cb0ea
permissions -rw-r--r--
23245636 Deliver gnome-online-accounts 3.18.0 in Solaris (fix audits)
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