diff options
Diffstat (limited to 'meta/recipes-extended/bash/bash/run-ptest')
-rw-r--r-- | meta/recipes-extended/bash/bash/run-ptest | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash/run-ptest b/meta/recipes-extended/bash/bash/run-ptest index 2098fa46ba..c61fabd020 100644 --- a/meta/recipes-extended/bash/bash/run-ptest +++ b/meta/recipes-extended/bash/bash/run-ptest | |||
@@ -1,2 +1,22 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | |||
3 | en_US=`locale -a | grep en_US*` | ||
4 | fr_FR=`locale -a | grep fr_FR*` | ||
5 | de_DE=`locale -a | grep de_DE*` | ||
6 | |||
7 | if [ -z "$en_US" ] | ||
8 | then | ||
9 | echo "Warning: The en_US* locales is needed to run the intl.tests, please add it." | ||
10 | fi | ||
11 | |||
12 | if [ -z "$fr_FR" ] | ||
13 | then | ||
14 | echo "Warning: The fr_FR* locales is needed to run the intl.tests, please add it." | ||
15 | fi | ||
16 | |||
17 | if [ -z "$de_DE" ] | ||
18 | then | ||
19 | echo "Warning: The de_DE* locales is needed to run the intl.tests, please add it." | ||
20 | fi | ||
21 | |||
2 | make -k THIS_SH=/bin/bash BUILD_DIR=`pwd` srcdir=`pwd` runtest | 22 | make -k THIS_SH=/bin/bash BUILD_DIR=`pwd` srcdir=`pwd` runtest |