From: Jérémie Galarneau Date: Wed, 20 Feb 2013 20:16:33 +0000 (-0500) Subject: Remove outdated test basic long X-Git-Tag: v2.2.0-rc1~32 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4c143eb97c535f1b9a91374405fb6ef8b383a764;p=lttng-ust.git Remove outdated test basic long Replaced by the ust-demo test in lttng-tools Signed-off-by: Jérémie Galarneau --- diff --git a/.gitignore b/.gitignore index 1f1b2b08..41a2f020 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,6 @@ lttng-ust.pc ustctl/ustctl ust-consumerd/ust-consumerd -tests/basic_long/basic_long tests/daemon/daemon tests/demo/demo tests/dlopen/dlopen diff --git a/tests/basic_long/Makefile.am b/tests/basic_long/Makefile.am deleted file mode 100644 index 24c45521..00000000 --- a/tests/basic_long/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include - -noinst_PROGRAMS = basic_long -basic_long_SOURCES = basic_long.c -basic_long_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o - -noinst_SCRIPTS = run -EXTRA_DIST = run diff --git a/tests/basic_long/basic_long.c b/tests/basic_long/basic_long.c deleted file mode 100644 index 746e9f51..00000000 --- a/tests/basic_long/basic_long.c +++ /dev/null @@ -1,34 +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 - -int main() -{ - printf("Basic test program\n"); - - for(;;) { - ust_marker(bar, "str %s", "FOOBAZ"); - ust_marker(bar2, "number1 %d number2 %d", 53, 9800); - usleep(1000000); - } - - return 0; -} diff --git a/tests/basic_long/run b/tests/basic_long/run deleted file mode 100755 index a137ed2f..00000000 --- a/tests/basic_long/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# Run with nothing - - -#LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/basic -#UST_AUTOPROBE="/foo" LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/basic -UST_AUTOPROBE=1 UST_TRACE=1 LD_LIBRARY_PATH=../../libust/.libs:../../../liburcu $1 .libs/basic_long