From b3f2d0efe24a0af36bbf03291a985ac234fd82e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 20 Feb 2013 16:00:07 -0500 Subject: [PATCH] Remove outdated test hello2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- .gitignore | 1 - tests/hello2/Makefile.am | 8 ------- tests/hello2/README | 1 - tests/hello2/hello2.c | 48 ---------------------------------------- tests/hello2/run | 3 --- 5 files changed, 61 deletions(-) delete mode 100644 tests/hello2/Makefile.am delete mode 100644 tests/hello2/README delete mode 100644 tests/hello2/hello2.c delete mode 100755 tests/hello2/run diff --git a/.gitignore b/.gitignore index c34870a6..986e18c1 100644 --- a/.gitignore +++ b/.gitignore @@ -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 index ded9d211..00000000 --- a/tests/hello2/Makefile.am +++ /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 index 68b11e69..00000000 --- a/tests/hello2/README +++ /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 index 7308b30d..00000000 --- a/tests/hello2/hello2.c +++ /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 -#include -#include - -#include - -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 index f681b773..00000000 --- a/tests/hello2/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -UST_AUTOPROBE=1 UST_TRACE=1 LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/hello2 -- 2.34.1