components/indent/patches/system-test.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 04 Aug 2015 12:01:03 -0700
changeset 4737 844cca6e99f3
permissions -rw-r--r--
21549702 Yet more Userland components should have their system-test targets hooked up
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4737
844cca6e99f3 21549702 Yet 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 indent binary when running tests.
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
844cca6e99f3 21549702 Yet 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.
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
--- indent-2.2.9/regression/TEST.orig	2015-08-03 07:55:36.236058899 -0700
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
+++ indent-2.2.9/regression/TEST	2015-08-03 07:56:32.264810064 -0700
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
@@ -3,7 +3,7 @@
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
 # Compare the output of ../src/indent to correct output
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
 # generated by earlier versions
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
-INDENT=../src/indent
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
+INDENT="${INDENT_BIN:-../src/indent}"
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
 # First, make sure the executable exists
844cca6e99f3 21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15