From 0539460746928a282cf8bb10cd5c417fb4e1e178 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 20 Feb 2013 15:11:42 -0500 Subject: [PATCH] Remove outdated test basic MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This test is replaced by the ust-demo test in lttng-tools Signed-off-by: Jérémie Galarneau --- .gitignore | 1 - tests/basic/Makefile.am | 8 -------- tests/basic/basic.c | 38 -------------------------------------- tests/basic/run | 8 -------- 4 files changed, 55 deletions(-) delete mode 100644 tests/basic/Makefile.am delete mode 100644 tests/basic/basic.c delete mode 100755 tests/basic/run diff --git a/.gitignore b/.gitignore index 44676524..1f1b2b08 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,6 @@ lttng-ust.pc ustctl/ustctl ust-consumerd/ust-consumerd -tests/basic/basic tests/basic_long/basic_long tests/daemon/daemon tests/demo/demo diff --git a/tests/basic/Makefile.am b/tests/basic/Makefile.am deleted file mode 100644 index 0fa45ea3..00000000 --- a/tests/basic/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include - -noinst_PROGRAMS = basic -basic_SOURCES = basic.c -basic_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o - -noinst_SCRIPTS = run -EXTRA_DIST = run diff --git a/tests/basic/basic.c b/tests/basic/basic.c deleted file mode 100644 index e1832cd0..00000000 --- a/tests/basic/basic.c +++ /dev/null @@ -1,38 +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 - */ - -/* Basic testing program that just records a few events. */ - -#include -#include - -#include - -int main() -{ - int i; - - printf("Basic test program\n"); - - for(i=0; i<50; i++) { - ust_marker(bar, "str %s", "FOOBAZ"); - ust_marker(bar2, "number1 %d number2 %d", 53, 9800); - usleep(100000); - } - - return 0; -} diff --git a/tests/basic/run b/tests/basic/run deleted file mode 100755 index 16601ef5..00000000 --- a/tests/basic/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 -- 2.34.1