Remove outdated test hello2
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 20 Feb 2013 21:00:07 +0000 (16:00 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 Mar 2013 15:22:02 +0000 (11:22 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.gitignore
tests/hello2/Makefile.am [deleted file]
tests/hello2/README [deleted file]
tests/hello2/hello2.c [deleted file]
tests/hello2/run [deleted file]

index c34870a6c3bc893e83586e9935fbd75267b5444a..986e18c113ff9746e5855ccdbc6111ab0045c1c8 100644 (file)
@@ -38,7 +38,6 @@ tests/fork/fork
 tests/fork/fork2
 tests/hello/hello
 tests/hello.cxx/hello
-tests/hello2/hello2
 tests/libustctl_function_tests/libustctl_function_tests
 tests/register_test/register_test
 tests/same_line_marker/same_line_marker
diff --git a/tests/hello2/Makefile.am b/tests/hello2/Makefile.am
deleted file mode 100644 (file)
index ded9d21..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include
-
-noinst_PROGRAMS = hello2
-hello2_SOURCES = hello2.c
-hello2_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
-
-noinst_SCRIPTS = run
-EXTRA_DIST = run
diff --git a/tests/hello2/README b/tests/hello2/README
deleted file mode 100644 (file)
index 68b11e6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-This is a hello world application used to test the LTTng userspace tracer.
diff --git a/tests/hello2/hello2.c b/tests/hello2/hello2.c
deleted file mode 100644 (file)
index 7308b30..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/* Copyright (C) 2009  Pierre-Marc Fournier
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
- */
-
-#include <stdio.h>
-#include <time.h>
-#include <errno.h>
-
-#include <ust/marker.h>
-
-int main()
-{
-       int i;
-       struct timespec tv;
-       int result;
-
-       tv.tv_sec = 1;
-       tv.tv_nsec = 0;
-
-       do {
-               result = nanosleep(&tv, &tv);
-       } while(result == -1 && errno == EINTR);
-
-       printf("Hello, World!\n");
-
-       for(i=0; i<500; i++) {
-               ust_marker(bar, "str %d", i);
-               ust_marker(bar2, "number1 %d number2 %d", (int)53, (int)9800);
-       }
-
-//     ltt_trace_stop("auto");
-//     ltt_trace_destroy("auto");
-
-       return 0;
-}
diff --git a/tests/hello2/run b/tests/hello2/run
deleted file mode 100755 (executable)
index f681b77..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-UST_AUTOPROBE=1 UST_TRACE=1 LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/hello2
This page took 0.027081 seconds and 4 git commands to generate.