Lines Matching +full:uuid +full:- +full:dev

4 Subject: [PATCH] Tests: fix test applications in cpp-common are needed to
5 re-build
7 Test applications in cpp-common directory are needed to re-build when
10 make[3]: *** No rule to make target 'cpp-common/test-c-string-view.cpp',
11 needed by 'cpp-common/test-c-string-view.o'.
13 needed by 'cpp-common/test-c-string-view'.
15 needed by 'cpp-common/test-c-string-view'.
17 needed by 'cpp-common/test-c-string-view'.
19 make[2]: *** [Makefile:1274: check-TESTS] Error 2
20 make[1]: *** [Makefile:1805: check-am] Error 2
21 make: *** [Makefile:1033: check-recursive] Error 1
25 in cpp-common directory. Then these test applications can run without
28 Upstream-Status: Submitted [https://review.lttng.org/c/babeltrace/+/14213]
30 Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
31 ---
32 tests/Makefile.am | 6 +++---
33 tests/cpp-common/test-c-string-view.sh | 17 +++++++++++++++++
34 tests/cpp-common/test-unicode-conv.sh | 17 +++++++++++++++++
35 tests/cpp-common/test-uuid.sh | 17 +++++++++++++++++
36 4 files changed, 54 insertions(+), 3 deletions(-)
37 create mode 100755 tests/cpp-common/test-c-string-view.sh
38 create mode 100755 tests/cpp-common/test-unicode-conv.sh
39 create mode 100755 tests/cpp-common/test-uuid.sh
41 diff --git a/tests/Makefile.am b/tests/Makefile.am
43 --- a/tests/Makefile.am
45 @@ -129,9 +129,9 @@ cpp_common_test_unicode_conv_LDADD = \
49 - cpp-common/test-c-string-view \
50 - cpp-common/test-uuid \
51 - cpp-common/test-unicode-conv
52 + cpp-common/test-c-string-view.sh \
53 + cpp-common/test-uuid.sh \
54 + cpp-common/test-unicode-conv.sh
57 lib/test-bt-uuid \
58 diff --git a/tests/cpp-common/test-c-string-view.sh b/tests/cpp-common/test-c-string-view.sh
61 --- /dev/null
62 +++ b/tests/cpp-common/test-c-string-view.sh
63 @@ -0,0 +1,17 @@
66 +# SPDX-License-Identifier: GPL-2.0-only
71 +if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
80 +"${BT_TESTS_BUILDDIR}/cpp-common/test-c-string-view" "$BT_TESTS_BT2_BIN"
81 diff --git a/tests/cpp-common/test-unicode-conv.sh b/tests/cpp-common/test-unicode-conv.sh
84 --- /dev/null
85 +++ b/tests/cpp-common/test-unicode-conv.sh
86 @@ -0,0 +1,17 @@
89 +# SPDX-License-Identifier: GPL-2.0-only
94 +if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
103 +"${BT_TESTS_BUILDDIR}/cpp-common/test-unicode-conv" "$BT_TESTS_BT2_BIN"
104 diff --git a/tests/cpp-common/test-uuid.sh b/tests/cpp-common/test-uuid.sh
107 --- /dev/null
108 +++ b/tests/cpp-common/test-uuid.sh
109 @@ -0,0 +1,17 @@
112 +# SPDX-License-Identifier: GPL-2.0-only
117 +if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
126 +"${BT_TESTS_BUILDDIR}/cpp-common/test-uuid" "$BT_TESTS_BT2_BIN"
127 --