Remove exit-fast test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 21 Feb 2013 16:51:44 +0000 (11:51 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 Mar 2013 15:22:02 +0000 (11:22 -0400)
Moved to lttng-tools.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.gitignore
tests/exit-fast/Makefile.am [deleted file]
tests/exit-fast/exit-fast.c [deleted file]
tests/exit-fast/exit-fast.sh [deleted file]
tests/runtests

index 390bbf2279cd8fddea71604caeb3a9203dfee6ec..03cbcbb88957f474cc6e94e0d738d8a66405361d 100644 (file)
@@ -31,7 +31,6 @@ lttng-ust.pc
 ustctl/ustctl
 ust-consumerd/ust-consumerd
 
-tests/exit-fast/exit-fast
 tests/hello/hello
 tests/hello.cxx/hello
 tests/same_line_marker/same_line_marker
diff --git a/tests/exit-fast/Makefile.am b/tests/exit-fast/Makefile.am
deleted file mode 100644 (file)
index d34fbc2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include
-
-noinst_PROGRAMS = exit-fast
-exit_fast_SOURCES = exit-fast.c
-exit_fast_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
diff --git a/tests/exit-fast/exit-fast.c b/tests/exit-fast/exit-fast.c
deleted file mode 100644 (file)
index ee987f2..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright (C) 2011 Nils Carlson
- *
- * 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
- */
-
-/* This test generates a single event and exits.
- */
-
-#include <signal.h>
-#include <string.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <ust/marker.h>
-
-int main(int argc, char *argv[])
-{
-       int suicide = 0;
-
-       if (argc > 1 && !strcmp(argv[1], "suicide")) {
-               suicide = 1;
-       }
-
-       ust_marker(fast, "%d", 0xf330);
-
-       if (suicide) {
-               kill(getpid(), SIGKILL);
-       }
-       return 0;
-}
diff --git a/tests/exit-fast/exit-fast.sh b/tests/exit-fast/exit-fast.sh
deleted file mode 100755 (executable)
index d10af57..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-#
-# Copyright 2011 Ericsson AB
-#
-#    This file is part of the UST test-suite.
-#
-#    The UST test-suite is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    The UST test-suite 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 General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with the UST test-suite.  If not, see <http://www.gnu.org/licenses/>.
-
-TESTDIR=$(dirname $0)/..
-
-source $TESTDIR/test_functions.sh
-source $TESTDIR/tap.sh
-
-starttest "Exit-Fast"
-
-plan_tests 6
-USTTRACE="$TESTDIR/../usttrace"
-
-diag "#"
-diag "First run, normal exit"
-diag "#"
-
-okx $USTTRACE -L $TESTDIR/exit-fast/exit-fast
-trace_loc=$($USTTRACE -W)
-trace_matches -N "fast" -n 1 "^ust.fast:" $trace_loc
-check_trace_logs "$trace_loc"
-
-diag "#"
-diag "Re-running, killing process"
-diag "#"
-
-okx $USTTRACE -L $TESTDIR/exit-fast/exit-fast suicide
-trace_loc=$($USTTRACE -W)
-trace_matches -N "fast" -n 1 "^ust.fast:" $trace_loc
-check_trace_logs "$trace_loc"
index 9c1111f69833bf5e309226e4d58dd5b9d5ab4b91..116163127720b7a2518d7ef8f46ffd4e8488946c 100755 (executable)
@@ -40,13 +40,6 @@ simple_harness_run same_line_marker/same_line_marker.sh
 # This testcase is currently broken, do not run.
 # simple_harness_run tracepoint/run
 
-# FIXME We disable the exit-fast test for the release. This is a known
-# problem with the current UST design that we will be working on fixing
-# in the upcoming rework for integration with the lttng-tools. We don't
-# want to flood testers with known issues, hence the choice to disable
-# the test.
-#simple_harness_run exit-fast/exit-fast.sh
-
 echo "************************************"
 if [[ $tests_failed -eq 0 ]]; then
     echo "$0: All passed"
This page took 0.027767 seconds and 4 git commands to generate.