diff options
-rw-r--r-- | meta/recipes-support/attr/acl/run-ptest | 6 | ||||
-rw-r--r-- | meta/recipes-support/attr/acl_2.3.1.bb | 1 | ||||
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 1 | ||||
-rw-r--r-- | meta/recipes-support/attr/attr/run-ptest | 7 |
4 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/acl/run-ptest b/meta/recipes-support/attr/acl/run-ptest index 4312823365..3af75c84fe 100644 --- a/meta/recipes-support/attr/acl/run-ptest +++ b/meta/recipes-support/attr/acl/run-ptest | |||
@@ -7,4 +7,10 @@ | |||
7 | mkdir -p /tmp/acl-ptest/test | 7 | mkdir -p /tmp/acl-ptest/test |
8 | cp test/test.* /tmp/acl-ptest/test | 8 | cp test/test.* /tmp/acl-ptest/test |
9 | 9 | ||
10 | set +e | ||
10 | make test-suite.log | 11 | make test-suite.log |
12 | exitcode=$? | ||
13 | if [ $exitcode -ne 0 -a -e test-suite.log ]; then | ||
14 | cat test-suite.log | ||
15 | fi | ||
16 | exit $exitcode | ||
diff --git a/meta/recipes-support/attr/acl_2.3.1.bb b/meta/recipes-support/attr/acl_2.3.1.bb index 5fb8f9ae35..9cb19ed72f 100644 --- a/meta/recipes-support/attr/acl_2.3.1.bb +++ b/meta/recipes-support/attr/acl_2.3.1.bb | |||
@@ -65,6 +65,7 @@ RDEPENDS:${PN}-ptest = "acl \ | |||
65 | bash \ | 65 | bash \ |
66 | coreutils \ | 66 | coreutils \ |
67 | perl \ | 67 | perl \ |
68 | perl-module-constant \ | ||
68 | perl-module-filehandle \ | 69 | perl-module-filehandle \ |
69 | perl-module-getopt-std \ | 70 | perl-module-getopt-std \ |
70 | perl-module-posix \ | 71 | perl-module-posix \ |
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index 53d9dccb27..ab62563690 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
@@ -51,6 +51,7 @@ do_install_ptest() { | |||
51 | RDEPENDS:${PN}-ptest = "attr \ | 51 | RDEPENDS:${PN}-ptest = "attr \ |
52 | bash \ | 52 | bash \ |
53 | coreutils \ | 53 | coreutils \ |
54 | perl-module-constant \ | ||
54 | perl-module-filehandle \ | 55 | perl-module-filehandle \ |
55 | perl-module-getopt-std \ | 56 | perl-module-getopt-std \ |
56 | perl-module-posix \ | 57 | perl-module-posix \ |
diff --git a/meta/recipes-support/attr/attr/run-ptest b/meta/recipes-support/attr/attr/run-ptest index f64244f239..3e7a3a17a0 100644 --- a/meta/recipes-support/attr/attr/run-ptest +++ b/meta/recipes-support/attr/attr/run-ptest | |||
@@ -1,3 +1,10 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | set +e | ||
3 | make test-suite.log | 4 | make test-suite.log |
5 | exitcode=$? | ||
6 | if [ $exitcode -ne 0 -a -e test-suite.log ]; then | ||
7 | cat test-suite.log | ||
8 | fi | ||
9 | exit $exitcode | ||
10 | |||