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 aca04a9aac..c2c9ba9069 100644 --- a/meta/recipes-support/attr/acl_2.3.1.bb +++ b/meta/recipes-support/attr/acl_2.3.1.bb | |||
| @@ -62,6 +62,7 @@ RDEPENDS:${PN}-ptest = "acl \ | |||
| 62 | bash \ | 62 | bash \ |
| 63 | coreutils \ | 63 | coreutils \ |
| 64 | perl \ | 64 | perl \ |
| 65 | perl-module-constant \ | ||
| 65 | perl-module-filehandle \ | 66 | perl-module-filehandle \ |
| 66 | perl-module-getopt-std \ | 67 | perl-module-getopt-std \ |
| 67 | perl-module-posix \ | 68 | perl-module-posix \ |
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index a4e38f2b19..56028edb12 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
| @@ -50,6 +50,7 @@ do_install_ptest() { | |||
| 50 | 50 | ||
| 51 | RDEPENDS:${PN}-ptest = "attr \ | 51 | RDEPENDS:${PN}-ptest = "attr \ |
| 52 | coreutils \ | 52 | coreutils \ |
| 53 | perl-module-constant \ | ||
| 53 | perl-module-filehandle \ | 54 | perl-module-filehandle \ |
| 54 | perl-module-getopt-std \ | 55 | perl-module-getopt-std \ |
| 55 | perl-module-posix \ | 56 | 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 | |||
