I'm not sure why the script was running ./atconfig ./atlocal ./testsuite,
as atconfig just sets some variables and ignores the arguments.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
#!/bin/sh
-# Define tar test work dir
-WORKDIR=@PTEST_PATH@/tests/
+cd @PTEST_PATH@/tests/
-# Run test
-cd ${WORKDIR}
-./atconfig ./atlocal ./testsuite
-
-# clear log
-rm -rf testsuite.dir
-rm -rf testsuite.log
+# Clear old data
+rm -rf testsuite.dir testsuite.log
./testsuite --am-fmt