diff options
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch')
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch b/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch index b5e8174efd..de048d23d7 100644 --- a/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch +++ b/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch | |||
@@ -1,22 +1,14 @@ | |||
1 | From a7e722f974e2529d3e564d8d94c86cc8bdbc40e7 Mon Sep 17 00:00:00 2001 | 1 | From 8c0f24404bebffdaf3132d81e2b9560d34ff1677 Mon Sep 17 00:00:00 2001 |
2 | From: Radu Patriu <radu.patriu@enea.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Mon, 24 Mar 2014 16:33:19 +0200 | 3 | Date: Thu, 12 Mar 2020 17:25:45 +0000 |
4 | Subject: [PATCH] autotest: new testsuite option to enable automake test | 4 | Subject: [PATCH 6/7] autotest-automake-result-format.patch |
5 | result format | ||
6 | 5 | ||
7 | * lib/autotest/general.m4: added "--am-fmt | -A" command line | ||
8 | parameter for testsuite script to enable "RESULT: testname" output; | ||
9 | will be used by yocto ptest packages. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Radu Patriu <radu.patriu@enea.com> | ||
14 | --- | 6 | --- |
15 | lib/autotest/general.m4 | 39 +++++++++++++++++++++++++++++---------- | 7 | lib/autotest/general.m4 | 39 +++++++++++++++++++++++++++++---------- |
16 | 1 file changed, 29 insertions(+), 10 deletions(-) | 8 | 1 file changed, 29 insertions(+), 10 deletions(-) |
17 | 9 | ||
18 | diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 | 10 | diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 |
19 | index 60c0352..c1f5a9b 100644 | 11 | index 0c0e3c5b..17590e96 100644 |
20 | --- a/lib/autotest/general.m4 | 12 | --- a/lib/autotest/general.m4 |
21 | +++ b/lib/autotest/general.m4 | 13 | +++ b/lib/autotest/general.m4 |
22 | @@ -412,6 +412,9 @@ at_recheck= | 14 | @@ -412,6 +412,9 @@ at_recheck= |
@@ -29,7 +21,7 @@ index 60c0352..c1f5a9b 100644 | |||
29 | # The directory we run the suite in. Default to . if no -C option. | 21 | # The directory we run the suite in. Default to . if no -C option. |
30 | at_dir=`pwd` | 22 | at_dir=`pwd` |
31 | # An absolute reference to this testsuite script. | 23 | # An absolute reference to this testsuite script. |
32 | @@ -530,6 +533,10 @@ do | 24 | @@ -525,6 +528,10 @@ do |
33 | at_check_filter_trace=at_fn_filter_trace | 25 | at_check_filter_trace=at_fn_filter_trace |
34 | ;; | 26 | ;; |
35 | 27 | ||
@@ -40,7 +32,7 @@ index 60c0352..c1f5a9b 100644 | |||
40 | [[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]]) | 32 | [[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]]) |
41 | at_fn_validate_ranges at_option | 33 | at_fn_validate_ranges at_option |
42 | AS_VAR_APPEND([at_groups], ["$at_option$as_nl"]) | 34 | AS_VAR_APPEND([at_groups], ["$at_option$as_nl"]) |
43 | @@ -718,10 +725,10 @@ m4_divert_push([HELP_MODES])dnl | 35 | @@ -713,10 +720,10 @@ m4_divert_push([HELP_MODES])dnl |
44 | cat <<_ATEOF || at_write_fail=1 | 36 | cat <<_ATEOF || at_write_fail=1 |
45 | 37 | ||
46 | Operation modes: | 38 | Operation modes: |
@@ -55,7 +47,7 @@ index 60c0352..c1f5a9b 100644 | |||
55 | _ATEOF | 47 | _ATEOF |
56 | m4_divert_pop([HELP_MODES])dnl | 48 | m4_divert_pop([HELP_MODES])dnl |
57 | m4_wrap([m4_divert_push([HELP_TUNING_BEGIN])dnl | 49 | m4_wrap([m4_divert_push([HELP_TUNING_BEGIN])dnl |
58 | @@ -747,6 +754,7 @@ Execution tuning: | 50 | @@ -742,6 +749,7 @@ Execution tuning: |
59 | -d, --debug inhibit clean up and top-level logging | 51 | -d, --debug inhibit clean up and top-level logging |
60 | [ default for debugging scripts] | 52 | [ default for debugging scripts] |
61 | -x, --trace enable tests shell tracing | 53 | -x, --trace enable tests shell tracing |
@@ -63,7 +55,7 @@ index 60c0352..c1f5a9b 100644 | |||
63 | _ATEOF | 55 | _ATEOF |
64 | m4_divert_pop([HELP_TUNING_BEGIN])])dnl | 56 | m4_divert_pop([HELP_TUNING_BEGIN])])dnl |
65 | m4_divert_push([HELP_END])dnl | 57 | m4_divert_push([HELP_END])dnl |
66 | @@ -1162,7 +1170,9 @@ at_fn_group_banner () | 58 | @@ -1129,7 +1137,9 @@ at_fn_group_banner () |
67 | [*]) at_desc_line="$[1]: " ;; | 59 | [*]) at_desc_line="$[1]: " ;; |
68 | esac | 60 | esac |
69 | AS_VAR_APPEND([at_desc_line], ["$[3]$[4]"]) | 61 | AS_VAR_APPEND([at_desc_line], ["$[3]$[4]"]) |
@@ -74,7 +66,7 @@ index 60c0352..c1f5a9b 100644 | |||
74 | echo "# -*- compilation -*-" >> "$at_group_log" | 66 | echo "# -*- compilation -*-" >> "$at_group_log" |
75 | } | 67 | } |
76 | 68 | ||
77 | @@ -1188,42 +1198,51 @@ _ATEOF | 69 | @@ -1155,42 +1165,51 @@ _ATEOF |
78 | case $at_xfail:$at_status in | 70 | case $at_xfail:$at_status in |
79 | yes:0) | 71 | yes:0) |
80 | at_msg="UNEXPECTED PASS" | 72 | at_msg="UNEXPECTED PASS" |
@@ -132,5 +124,5 @@ index 60c0352..c1f5a9b 100644 | |||
132 | at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg" | 124 | at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg" |
133 | case $at_status in | 125 | case $at_status in |
134 | -- | 126 | -- |
135 | 1.7.9.5 | 127 | 2.25.1 |
136 | 128 | ||