summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libregex/test/main.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1993-07-30 20:16:54 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1993-07-30 20:16:54 +0000
commit4c6599b12882858dff92d2ae55f6683ca070bea5 (patch)
tree9ca97530aa31f1b27cf6847235f74abda80a9f75 /gnu/lib/libregex/test/main.c
parent5e0c8d9ee2600d5f7d5c710e34249ae51db60ba7 (diff)
downloadFreeBSD-src-4c6599b12882858dff92d2ae55f6683ca070bea5.zip
FreeBSD-src-4c6599b12882858dff92d2ae55f6683ca070bea5.tar.gz
This commit was manufactured by cvs2svn to create branch
'VENDOR-libregex'.
Diffstat (limited to 'gnu/lib/libregex/test/main.c')
-rw-r--r--gnu/lib/libregex/test/main.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/gnu/lib/libregex/test/main.c b/gnu/lib/libregex/test/main.c
deleted file mode 100644
index 28ae315..0000000
--- a/gnu/lib/libregex/test/main.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* Main routine for running various tests. Meant only to be linked with
- all the auxiliary test source files, with `test' undefined. */
-
-#include "test.h"
-
-test_type t = all_test;
-
-
-/* Use this to run the tests we've thought of. */
-
-int
-main ()
-{
- switch (t)
- {
- case all_test:
- test_regress ();
- test_others ();
- test_posix_basic ();
- test_posix_extended ();
- test_posix_interface ();
- break;
-
- case other_test:
- test_others ();
- break;
-
- case posix_basic_test:
- test_posix_basic ();
- break;
-
- case posix_extended_test:
- test_posix_extended ();
- break;
-
- case posix_interface_test:
- test_posix_interface ();
- break;
-
- case regress_test:
- test_regress ();
- break;
-
- default:
- fprintf (stderr, "Unknown test %d.\n", t);
- }
-
- return 0;
-}
OpenPOWER on IntegriCloud