tests: Rename tests.sh to testutils.sh
tests.sh has a bunch of shell setup that's sourced in a number of other scripts. It _doesn't_ actually run a bunch of tests, which is kind of what the name suggests. So rename it to be more obvious. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
parent
c5d45188f9
commit
00f9febf9c
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
for x; do
|
||||
shift
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
if [ "$1" = "-n" ]; then
|
||||
NEG="$1"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
verbose_run $VALGRIND "$DTC" -o/dev/null "$@"
|
||||
ret="$?"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# $1 - source file to compile and compare with fdtdump output of the
|
||||
# compiled file.
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
dts="$1"
|
||||
dtb="${dts}.dtb"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
LOG=tmp.log.$$
|
||||
EXPECT=tmp.expect.$$
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# Usage
|
||||
# fdtoverlay-runtest.sh name expected_output dtb_file node property flags value
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
LOG=tmp.log.$$
|
||||
EXPECT=tmp.expect.$$
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# Usage
|
||||
# fdtput-runtest.sh name expected_output dtb_file node property flags value
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
LOG=tmp.log.$$
|
||||
EXPECT=tmp.expect.$$
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
. ./tests.sh
|
||||
. ./testutils.sh
|
||||
|
||||
if [ -z "$CC" ]; then
|
||||
CC=gcc
|
||||
|
|
Loading…
Reference in New Issue