changeset 448:3cd8aa013b88

Change the perl invocations for the test bits to use /usr/bin/env Using "env" to find where perl is located is probably more portable. Changed the test harness thingie and the existing opcode test to use /usr/bin/env instead of a hard coded perl path.
author William Astle <lost@l-w.ca>
date Thu, 30 Nov 2017 17:38:24 -0700
parents 639d19f5fb8e
children 96a05e89ab03
files test/runtests test/tests/opcodes6809.pl
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtests	Wed Nov 29 17:24:19 2017 -0700
+++ b/test/runtests	Thu Nov 30 17:38:24 2017 -0700
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 # This program will execute all programs in the "tests" directory. Each
 # program is expected to produce output as follows on stdout:
--- a/test/tests/opcodes6809.pl	Wed Nov 29 17:24:19 2017 -0700
+++ b/test/tests/opcodes6809.pl	Thu Nov 30 17:38:24 2017 -0700
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 # these tests determine if the opcodes for each instruction, in each
 # addressing mode, are correct.