]> wimlib.net Git - wimlib/commitdiff
Remove tests/multi-mount
authorEric Biggers <ebiggers3@gmail.com>
Sun, 21 Feb 2016 04:34:13 +0000 (22:34 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 21 Feb 2016 04:34:56 +0000 (22:34 -0600)
tests/multi-mount/Makefile [deleted file]
tests/multi-mount/multi-mount.c [deleted file]

diff --git a/tests/multi-mount/Makefile b/tests/multi-mount/Makefile
deleted file mode 100644 (file)
index 57ed722..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-CFLAGS := -fopenmp
-LDLIBS := -lwim
-LDFLAGS := -fopenmp
-multi-mount:multi-mount.c
-clean:
-       rm -f multi-mount
-
diff --git a/tests/multi-mount/multi-mount.c b/tests/multi-mount/multi-mount.c
deleted file mode 100644 (file)
index b6c5ff7..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#include <wimlib.h>
-#include <assert.h>
-#include <omp.h>
-
-int main(int argc, char **argv)
-{
-       int ret;
-       WIMStruct *w1;
-       WIMStruct *w2;
-
-       assert(argc == 5);
-       ret = wimlib_open_wim(argv[1], 0, &w1, NULL);
-       assert(ret == 0);
-
-       ret = wimlib_open_wim(argv[2], 0, &w2, NULL);
-       assert(ret == 0);
-
-       #pragma omp parallel num_threads(2)
-       {
-               int ret;
-               assert(omp_get_num_threads() == 2);
-               if (omp_get_thread_num() == 0) {
-                       ret = wimlib_mount_image(w1, 1, argv[3],
-                                                WIMLIB_MOUNT_FLAG_DEBUG, NULL);
-               } else {
-                       ret = wimlib_mount_image(w2, 1, argv[4],
-                                                WIMLIB_MOUNT_FLAG_DEBUG, NULL);
-               }
-               assert(ret == 0);
-       }
-       return 0;
-}