summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
-rw-r--r--libparted/Makefile.am8
-rw-r--r--libparted/tests/Makefile.am11
-rw-r--r--libparted/tests/resize.c27
4 files changed, 1 insertions, 50 deletions
diff --git a/configure.ac b/configure.ac
index 5dc4ebc..8200564 100644
--- a/configure.ac
+++ b/configure.ac
@@ -432,10 +432,6 @@ AC_CHECK_HEADER([execinfo.h], [
])
])
-dnl check for "check", unit testing library/header
-PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
-AM_CONDITIONAL(HAVE_CHECK, test "x$CHECK_LIBS" != "x")
-
dnl Checks for typedefs, structures and compiler characteristics.
AC_PROG_LD
@@ -490,7 +486,6 @@ libparted/fs/ntfs/Makefile
libparted/fs/reiserfs/Makefile
libparted/fs/ufs/Makefile
libparted/fs/xfs/Makefile
-libparted/tests/Makefile
parted/Makefile
partprobe/Makefile
doc/Makefile
diff --git a/libparted/Makefile.am b/libparted/Makefile.am
index b071658..0cb7c09 100644
--- a/libparted/Makefile.am
+++ b/libparted/Makefile.am
@@ -3,13 +3,7 @@
#
# This file may be modified and/or distributed without restriction.
-if HAVE_CHECK
-SUBDIRS_CHECK = tests
-else
-SUBDIRS_CHECK =
-endif
-
-SUBDIRS = labels fs . $(SUBDIRS_CHECK)
+SUBDIRS = labels fs
LIBS = @INTLLIBS@ @LIBS@
diff --git a/libparted/tests/Makefile.am b/libparted/tests/Makefile.am
deleted file mode 100644
index c4e66e5..0000000
--- a/libparted/tests/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-# This file is part of GNU Parted
-# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
-#
-# This file may be modified and/or distributed without restriction.
-
-TESTS = resize
-bin_PROGRAMS = resize
-resize_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include
-resize_LDADD = @CHECK_LIBS@ $(top_builddir)/libparted/libparted.la
-resize_SOURCES = resize.c
-
diff --git a/libparted/tests/resize.c b/libparted/tests/resize.c
deleted file mode 100644
index 761f81a..0000000
--- a/libparted/tests/resize.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <parted/parted.h>
-#include <check.h>
-
-START_TEST (test_start_sector)
-{
- fail_unless(0 == 0, "Erro proposital");
-}
-END_TEST
-
-int main(void)
-{
- int number_failed;
- Suite *suite = suite_create( "Resize" );
- TCase *basic = tcase_create( "Basic" );
-
- tcase_add_test( basic, test_start_sector );
- suite_add_tcase( suite, basic );
-
- SRunner *srunner = srunner_create( suite );
- srunner_run_all( srunner, CK_VERBOSE );
-
- number_failed = srunner_ntests_failed( srunner );
- srunner_free(srunner);
-
- return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
-}
-