From: Jérémie Galarneau Date: Mon, 25 Feb 2013 14:43:40 +0000 (-0500) Subject: Convert hello.cxx test to a build test X-Git-Tag: v2.2.0-rc1~15 X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=047aa546706c30b3fb79db1f65e8dd37ad7376b1 Convert hello.cxx test to a build test Signed-off-by: Jérémie Galarneau --- diff --git a/tests/hello.cxx/Makefile.am b/tests/hello.cxx/Makefile.am index 4eace0ef..897416d8 100644 --- a/tests/hello.cxx/Makefile.am +++ b/tests/hello.cxx/Makefile.am @@ -10,6 +10,3 @@ endif if LTTNG_UST_BUILD_WITH_LIBC_DL hello_LDADD += -lc endif - -noinst_SCRIPTS = run -EXTRA_DIST = run diff --git a/tests/hello.cxx/README b/tests/hello.cxx/README index 68b11e69..48cb0d8f 100644 --- a/tests/hello.cxx/README +++ b/tests/hello.cxx/README @@ -1 +1,4 @@ -This is a hello world application used to test the LTTng userspace tracer. +This is a "hello world" application used to verify that an instrumented +program written in C++ can be built successfully. + +Only enabled if a C++ build environment is detected during configure. diff --git a/tests/hello.cxx/run b/tests/hello.cxx/run deleted file mode 100755 index da8df17b..00000000 --- a/tests/hello.cxx/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -UST_AUTOPROBE=1 UST_TRACE=1 LD_LIBRARY_PATH=../libust/.libs:../../liburcu $1 .libs/hello