This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via fce704f34f8af56d8c63b9e77c9a4f7a590655b4 (commit)
via 8df1b60560ac49b403bfb044c04595b831bc393b (commit)
from bac3806356694060d30bf3c83e4133410fecd9ab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fce704f34f8af56d8c63b9e77c9a4f7a590655b4
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu Apr 27 17:26:43 2017 +0300
test: pktio_run: exit if binary was not found
No need to continue run if binary was not found in paths.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/test/linux-generic/validation/api/pktio/pktio_run.sh b/test/linux-generic/validation/api/pktio/pktio_run.sh
index e8b0f936..19def8c5 100755
--- a/test/linux-generic/validation/api/pktio/pktio_run.sh
+++ b/test/linux-generic/validation/api/pktio/pktio_run.sh
@@ -31,6 +31,7 @@ if [ -x "$pktio_main_path" ] ; then
echo "running with pktio_main: $pktio_run_path"
else
echo "cannot find pktio_main: please set you PATH for it."
+ exit 1
fi
# directory where platform test sources are, including scripts
commit 8df1b60560ac49b403bfb044c04595b831bc393b
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu Apr 27 17:26:42 2017 +0300
test: tm: add paths to find tm binary
Use the same algorithm as pktio_run.sh to find paths in
different cases (in tree build, out of tree build, distcheck
and etc).
Fixes:
https://bugs.linaro.org/show_bug.cgi?id=2969
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh
index a7d54162..4db7ea38 100755
--- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh
+++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh
@@ -6,13 +6,29 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-# directory where test binaries have been built
-TEST_DIR="${TEST_DIR:-$(dirname $0)}"
+# directories where traffic_mngr_main binary can be found:
+# -in the validation dir when running make check (intree or out of tree)
+# -in the script directory, when running after 'make install', or
+# -in the validation when running standalone (./traffic_mngr) intree.
+# -in the current directory.
+# running stand alone out of tree requires setting PATH
+PATH=${TEST_DIR}/api/traffic_mngr:$PATH
+PATH=$(dirname $0)/../../../../common_plat/validation/api/traffic_mngr:$PATH
+PATH=$(dirname $0):$PATH
+PATH=`pwd`:$PATH
+
+traffic_mngr_main_path=$(which traffic_mngr_main${EXEEXT})
+if [ -x "$traffic_mngr_main_path" ] ; then
+ echo "running with traffic_mngr_main: $traffic_mngr_run_path"
+else
+ echo "cannot find traffic_mngr_main: please set you PATH for it."
+ exit 1
+fi
# exit codes expected by automake for skipped tests
TEST_SKIPPED=77
-${TEST_DIR}/traffic_mngr_main${EXEEXT}
+traffic_mngr_main${EXEEXT}
ret=$?
SIGSEGV=139
-----------------------------------------------------------------------
Summary of changes:
.../validation/api/traffic_mngr/traffic_mngr.sh | 22 +++++++++++++++++++---
.../validation/api/pktio/pktio_run.sh | 1 +
2 files changed, 20 insertions(+), 3 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via b33b8ed7ca7c0f66f9c63155dd7e59ecaf7ea75e (commit)
via cf4a8144d8a8fcbbc3a9d6d43cbaa479f5e2dbfb (commit)
from de644d068b0a6d4658770044191db7f96f716600 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b33b8ed7ca7c0f66f9c63155dd7e59ecaf7ea75e
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu Apr 27 17:26:43 2017 +0300
test: pktio_run: exit if binary was not found
No need to continue run if binary was not found in paths.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/test/linux-generic/validation/api/pktio/pktio_run.sh b/test/linux-generic/validation/api/pktio/pktio_run.sh
index e8b0f936..19def8c5 100755
--- a/test/linux-generic/validation/api/pktio/pktio_run.sh
+++ b/test/linux-generic/validation/api/pktio/pktio_run.sh
@@ -31,6 +31,7 @@ if [ -x "$pktio_main_path" ] ; then
echo "running with pktio_main: $pktio_run_path"
else
echo "cannot find pktio_main: please set you PATH for it."
+ exit 1
fi
# directory where platform test sources are, including scripts
commit cf4a8144d8a8fcbbc3a9d6d43cbaa479f5e2dbfb
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu Apr 27 17:26:42 2017 +0300
test: tm: add paths to find tm binary
Use the same algorithm as pktio_run.sh to find paths in
different cases (in tree build, out of tree build, distcheck
and etc).
Fixes:
https://bugs.linaro.org/show_bug.cgi?id=2969
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh
index a7d54162..4db7ea38 100755
--- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh
+++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.sh
@@ -6,13 +6,29 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-# directory where test binaries have been built
-TEST_DIR="${TEST_DIR:-$(dirname $0)}"
+# directories where traffic_mngr_main binary can be found:
+# -in the validation dir when running make check (intree or out of tree)
+# -in the script directory, when running after 'make install', or
+# -in the validation when running standalone (./traffic_mngr) intree.
+# -in the current directory.
+# running stand alone out of tree requires setting PATH
+PATH=${TEST_DIR}/api/traffic_mngr:$PATH
+PATH=$(dirname $0)/../../../../common_plat/validation/api/traffic_mngr:$PATH
+PATH=$(dirname $0):$PATH
+PATH=`pwd`:$PATH
+
+traffic_mngr_main_path=$(which traffic_mngr_main${EXEEXT})
+if [ -x "$traffic_mngr_main_path" ] ; then
+ echo "running with traffic_mngr_main: $traffic_mngr_run_path"
+else
+ echo "cannot find traffic_mngr_main: please set you PATH for it."
+ exit 1
+fi
# exit codes expected by automake for skipped tests
TEST_SKIPPED=77
-${TEST_DIR}/traffic_mngr_main${EXEEXT}
+traffic_mngr_main${EXEEXT}
ret=$?
SIGSEGV=139
-----------------------------------------------------------------------
Summary of changes:
.../validation/api/traffic_mngr/traffic_mngr.sh | 22 +++++++++++++++++++---
.../validation/api/pktio/pktio_run.sh | 1 +
2 files changed, 20 insertions(+), 3 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 8ddca7c5d2d1f6b4311501e3ce6eef6d22e40591 (commit)
from 5622f689653013b317842386a1aed81dd81fe749 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8ddca7c5d2d1f6b4311501e3ce6eef6d22e40591
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Thu Apr 20 03:00:05 2017 +0300
test: tm: use script instead of binary when calling traffic manager test
Since 51e3b8776b78180741fa57a621f9d13b9ae8bbfb tm test received wrapper
script checking if it is run under Travis CI. However linux-generic
testsuite was not updated to call script instead of binary, resulting in
test failures.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/linux-generic/Makefile.am b/test/linux-generic/Makefile.am
index 0522550a..38516a43 100644
--- a/test/linux-generic/Makefile.am
+++ b/test/linux-generic/Makefile.am
@@ -30,7 +30,7 @@ TESTS = validation/api/pktio/pktio_run.sh \
$(ALL_API_VALIDATION_DIR)/thread/thread_main$(EXEEXT) \
$(ALL_API_VALIDATION_DIR)/time/time_main$(EXEEXT) \
$(ALL_API_VALIDATION_DIR)/timer/timer_main$(EXEEXT) \
- $(ALL_API_VALIDATION_DIR)/traffic_mngr/traffic_mngr_main$(EXEEXT) \
+ $(ALL_API_VALIDATION_DIR)/traffic_mngr/traffic_mngr.sh \
$(ALL_API_VALIDATION_DIR)/shmem/shmem_main$(EXEEXT) \
$(ALL_API_VALIDATION_DIR)/system/system_main$(EXEEXT) \
ring/ring_main$(EXEEXT)
-----------------------------------------------------------------------
Summary of changes:
test/linux-generic/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--