summaryrefslogtreecommitdiff
path: root/tests/generate_testlist.sh
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-09-08 17:14:47 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-20 19:25:58 +0300
commitfd5aa6aac2dba154689c5350280d4cba9284eee5 (patch)
tree1de1ec2c1e14b12b6c3ddd710a0dd7fcdab5764c /tests/generate_testlist.sh
parent1043c09ccbcba8e5c2ec5f2a358a442346348bd8 (diff)
meson: align test-list.txt generation with automake
- I forgot the chamelium tests - Order tests the same way in both build systems. Since testdisplay is special, it's easier to put that at the end in meson, so adjusted automake to suit. With this you can diff the 2 test lists and end up with 0 differences, which will be useful to CI meson vs. automake. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/generate_testlist.sh')
-rwxr-xr-xtests/generate_testlist.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/generate_testlist.sh b/tests/generate_testlist.sh
index a0d53e9f..87637fc8 100755
--- a/tests/generate_testlist.sh
+++ b/tests/generate_testlist.sh
@@ -5,9 +5,14 @@ shift
echo TESTLIST > $OUTPUT
+if [[ $# -gt 0 ]] ; then
+ echo -n $1 >> $OUTPUT
+ shift
+fi
+
while [[ $# -gt 0 ]] ; do
- echo $1 >> $OUTPUT
+ echo -n " $1" >> $OUTPUT
shift
done
-echo END TESTLIST >> $OUTPUT
+echo -e "\nEND TESTLIST" >> $OUTPUT