Move gpg test programs to the top test directory.
authorWerner Koch <wk@gnupg.org>
Tue, 7 Jul 2009 14:17:39 +0000 (14:17 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 7 Jul 2009 14:17:39 +0000 (14:17 +0000)
tests/ChangeLog
tests/Makefile.am
tests/gpg/Makefile.am
tests/run-export.c [moved from tests/gpg/pgp-export.c with 98% similarity]
tests/run-import.c [moved from tests/gpg/pgp-import.c with 98% similarity]
tests/run-keylist.c [moved from tests/gpg/pgp-keylist.c with 98% similarity]

index ab9a60aa16274c9a8a7bffaf94950b32c2521dfd..9e68d51dac8b180296e54689ca27b10429212e0c 100644 (file)
@@ -1,3 +1,16 @@
+2009-07-07  Werner Koch  <wk@g10code.com>
+
+       * gpg/pgp-keylist.c: Rename to ...
+       * run-keylist.c: ... this.
+       * gpg/pgp-import.c: Rename to ...
+       * run-import.c: ... this.
+       * gpg/pgp-export.c: Rename to ...
+       * run-export.c: ... this.
+       * run-support.h: New. Copied from gpg/t-support.h.
+       * gpg/Makefile.am (noinst_PROGRAMS): Remove them.
+       * Makefile.am (noinst_PROGRAMS): Add them.
+       (noinst_HEADERS): New.
+
 2009-06-22  Marcus Brinkmann  <marcus@g10code.de>
 
        * gpg/t-support.h (passphrase_cb): Implement write() according to
index dc2b03707ff7a27f6ef956c539a49d1599ee0524..81d7e548900573a92caafa90610ae574ec6e0a22 100644 (file)
@@ -30,7 +30,10 @@ INCLUDES = -I$(top_builddir)/src
 AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
 LDADD = ../src/libgpgme.la @GPG_ERROR_LIBS@
 
-noinst_PROGRAMS = $(TESTS)
+noinst_HEADERS = run-support.h
+
+noinst_PROGRAMS = $(TESTS) run-keylist run-export run-import
+
 
 if RUN_GPG_TESTS
 gpgtests = gpg
index 441e80ca58f8aca5902216c71e0bbe0746ce74dd..5da0bbbf6a81303de9079662ae988abda7d1ca71 100644 (file)
@@ -50,8 +50,7 @@ LDADD = ../../src/libgpgme.la
 t_thread1_LDADD = ../../src/libgpgme-pthread.la
 
 # We don't run t-genkey in the test suite, because it takes too long
-# The other programs are used for debugging.
-noinst_PROGRAMS = $(TESTS) t-genkey pgp-keylist pgp-export pgp-import
+noinst_PROGRAMS = $(TESTS) t-genkey
 
 mkdemodirs: mkdemodirs.in Makefile
        sed -e 's,[@]GPG[@],$(GPG),g' < $(srcdir)/mkdemodirs.in > mkdemodirs
similarity index 98%
rename from tests/gpg/pgp-export.c
rename to tests/run-export.c
index a0b3e8a5ad1c037ea818a426aa00f5b64e8e3e14..8dddb5bc8d6dcab197d6736b2566a3f2c3d59869 100644 (file)
@@ -29,9 +29,9 @@
 
 #include <gpgme.h>
 
-#define PGM "pgp-export"
+#define PGM "run-export"
 
-#include "t-support.h"
+#include "run-support.h"
 
 
 static int verbose;
similarity index 98%
rename from tests/gpg/pgp-import.c
rename to tests/run-import.c
index b9d68608749a2edd8f5a3ccf0270cfa9db7e3595..cd101b015445cd35452088451c257f90e837afa7 100644 (file)
@@ -29,9 +29,9 @@
 
 #include <gpgme.h>
 
-#define PGM "pgp-import"
+#define PGM "run-import"
 
-#include "t-support.h"
+#include "run-support.h"
 
 
 static int verbose;
similarity index 98%
rename from tests/gpg/pgp-keylist.c
rename to tests/run-keylist.c
index 4978b8dd49abeb365b325e1aecff78276e1327df..07fc89414fbb3f27286c75305af2ab726dc8722b 100644 (file)
@@ -1,4 +1,4 @@
-/* pgp-keylist.c  - Helper to show a key listing.
+/* run-keylist.c  - Helper to show a key listing.
    Copyright (C) 2008, 2009 g10 Code GmbH
 
    This file is part of GPGME.
@@ -29,9 +29,9 @@
 
 #include <gpgme.h>
 
-#define PGM "pgp-keylist"
+#define PGM "run-keylist"
 
-#include "t-support.h"
+#include "run-support.h"
 
 
 static int verbose;