]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tar: clean up run-ptest
authorRoss Burton <ross.burton@arm.com>
Fri, 6 Jun 2025 15:15:43 +0000 (16:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jun 2025 16:43:20 +0000 (17:43 +0100)
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>
meta/recipes-extended/tar/tar/run-ptest

index 185b33d61a1c788c771b8ff7bd41adab2c859662..b4ccbbcb462afe7489e5b812ec9d34da7fc2b3af 100644 (file)
@@ -1,14 +1,8 @@
 #!/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