diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
commit | 8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch) | |
tree | eb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro-integration/recipes-overlayed/acpica/acpitests/0001-aaptisrun-alter-to-allow-destination-directory-as-ar.patch | |
download | meta-linaro-dizzy-enea.tar.gz |
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro-integration/recipes-overlayed/acpica/acpitests/0001-aaptisrun-alter-to-allow-destination-directory-as-ar.patch')
-rw-r--r-- | meta-linaro-integration/recipes-overlayed/acpica/acpitests/0001-aaptisrun-alter-to-allow-destination-directory-as-ar.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-linaro-integration/recipes-overlayed/acpica/acpitests/0001-aaptisrun-alter-to-allow-destination-directory-as-ar.patch b/meta-linaro-integration/recipes-overlayed/acpica/acpitests/0001-aaptisrun-alter-to-allow-destination-directory-as-ar.patch new file mode 100644 index 0000000..47c2dd2 --- /dev/null +++ b/meta-linaro-integration/recipes-overlayed/acpica/acpitests/0001-aaptisrun-alter-to-allow-destination-directory-as-ar.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From b74f3c497d3fb689d12aed26dd5b8614ca6ac96e Mon Sep 17 00:00:00 2001 | ||
2 | From: Graeme Gregory <graeme.gregory@linaro.org> | ||
3 | Date: Tue, 25 Nov 2014 12:49:42 +0000 | ||
4 | Subject: [PATCH] aaptisrun : alter to allow destination directory as argument | ||
5 | |||
6 | Also search for appits in $PATH | ||
7 | |||
8 | Upstream-status: Inapropriate [LAVA use only, upstream unmaintained] | ||
9 | Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> | ||
10 | --- | ||
11 | tests/aapits/bin/aapitsrun | 6 ++++-- | ||
12 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/tests/aapits/bin/aapitsrun b/tests/aapits/bin/aapitsrun | ||
15 | index cfa999e..3a97a0f 100755 | ||
16 | --- a/tests/aapits/bin/aapitsrun | ||
17 | +++ b/tests/aapits/bin/aapitsrun | ||
18 | @@ -20,7 +20,7 @@ | ||
19 | |||
20 | # Init variables of utility | ||
21 | |||
22 | -AAPITSDIR=../tmp | ||
23 | +AAPITSDIR="$1" | ||
24 | |||
25 | AAPITSOUT=${AAPITSDIR}/raw.out | ||
26 | AAPITSSUM=${AAPITSDIR}/sum.out | ||
27 | @@ -56,6 +56,8 @@ TESTS_NUMBERS="$AT_INIT_TEST_NUM $AT_MEMM_TEST_NUM $AT_TBLM_TEST_NUM $AT_NSPM_TE | ||
28 | |||
29 | # Check the working directory | ||
30 | |||
31 | +mkdir -p "$AAPITSDIR/aml" || true | ||
32 | + | ||
33 | if [ ! -d "$AAPITSDIR" ]; then | ||
34 | echo "There is no directory $AAPITSDIR, run make in ../asl" | ||
35 | exit 1 | ||
36 | @@ -68,7 +70,7 @@ if [ ! -d "$AAPITSAML" ]; then | ||
37 | exit 1 | ||
38 | fi | ||
39 | |||
40 | -AAPITS=./aapits | ||
41 | +AAPITS=`which aapits` | ||
42 | |||
43 | # Check access to AapiTS utility | ||
44 | |||
45 | @@ -144,8 +144,8 @@ echo "tests_fail=$tests_fail" | ||
46 | echo "tests_none=$tests_none" | ||
47 | echo "tests_fault=$tests_fault" | ||
48 | |||
49 | -echo "End AAPI TS: " $TS_FMT_INIDATE:$TS_FMT_INITIME > $AAPITSOUT | ||
50 | -echo "End AAPI TS: " $TS_FMT_INIDATE:$TS_FMT_INITIME > $AAPITSSUM | ||
51 | +echo "End AAPI TS: " $TS_FMT_INIDATE:$TS_FMT_INITIME >> $AAPITSOUT | ||
52 | +echo "End AAPI TS: " $TS_FMT_INIDATE:$TS_FMT_INITIME >> $AAPITSSUM | ||
53 | echo "End AAPI TS: " $TS_FMT_INIDATE:$TS_FMT_INITIME | ||
54 | |||
55 | exit 0 | ||
56 | |||
57 | -- | ||
58 | 2.1.1 | ||
59 | |||