Browse Source

testing

ENGINE-133
Volker Birk 6 years ago
parent
commit
f691f753c0
9 changed files with 10 additions and 10 deletions
  1. +1
    -1
      Makefile.conf
  2. +1
    -1
      src/Makefile
  3. +0
    -1
      test/0x6FF00E97.asc
  4. +0
    -1
      test/0x70DCF575.asc
  5. +0
    -1
      test/0xC9C2EE39.asc
  6. +0
    -1
      test/6FF00E97_sec.asc
  7. +0
    -1
      test/70DCF575_sec.asc
  8. +0
    -1
      test/C9C2EE39_sec.asc
  9. +8
    -2
      test/Makefile

+ 1
- 1
Makefile.conf View File

@ -11,7 +11,7 @@ YML2PROC=$(HOME)/yml2/yml2proc
YML_PATH=$(HOME)/yml2
ASN1C=asn1c
ASN1C_INCLUDE=/opt/local/share/asn1c
LIBGPGME=/opt/local/lib/libgpgme-pthread.11.dylib
#LIBGPGME=/opt/local/lib/libgpgme-pthread.11.dylib
# C makros (not environment variables) to overwrite:
#


+ 1
- 1
src/Makefile View File

@ -43,7 +43,7 @@ endif
ifeq ("$(OPENPGP)","GPG")
NO_SOURCE=pgp_netpgp.c
CFLAGS+= -DUSE_GPG
LDFLAGS+= -lgpgme-pthread
LDFLAGS+= -lgpgme
else ifeq ("$(OPENPGP)","NETPGP")
NO_SOURCE=pgp_gpg.c
CFLAGS+= -DUSE_NETPGP


+ 0
- 1
test/0x6FF00E97.asc View File

@ -1,5 +1,4 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFV4PbEBCADTmjGDsoti/VPoZ3w2oCjLBNq1jWIGMkbiUgCGUQjVsNrSZ80U
7RmA3Pcu3hhiVQNBGA32vL6NPhSJPanVd77s6XVZg+Gq7llbGGkuIxSkJvVrWzYc


+ 0
- 1
test/0x70DCF575.asc View File

@ -1,5 +1,4 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFV4PvYBCADR7kaFLsLFDuGE11u3q2K6eTspAkczU1ahPnSXaVGOIbCQGuL6
MiDET4vXAY/y1picqJ8OuIe2k0S8eDRIYIHF8arhgTkZQny6Cfy7nheWNnxSZBIo


+ 0
- 1
test/0xC9C2EE39.asc View File

@ -1,5 +1,4 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFV4Pl8BCACuukQLwsHftH5jkVsSL7COFhamNsEE8lZ8MG1f1Rx5ztPuZTna
YXyWODgpj2Bxz0TcP+Q17GbLKse7TWD1k9i1RzLWz8ZSCLYq2TtjLWPleVuGGWeq


+ 0
- 1
test/6FF00E97_sec.asc View File

@ -1,5 +1,4 @@
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1
lQOYBFV4PbEBCADTmjGDsoti/VPoZ3w2oCjLBNq1jWIGMkbiUgCGUQjVsNrSZ80U
7RmA3Pcu3hhiVQNBGA32vL6NPhSJPanVd77s6XVZg+Gq7llbGGkuIxSkJvVrWzYc


+ 0
- 1
test/70DCF575_sec.asc View File

@ -1,5 +1,4 @@
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1
lQOYBFV4PvYBCADR7kaFLsLFDuGE11u3q2K6eTspAkczU1ahPnSXaVGOIbCQGuL6
MiDET4vXAY/y1picqJ8OuIe2k0S8eDRIYIHF8arhgTkZQny6Cfy7nheWNnxSZBIo


+ 0
- 1
test/C9C2EE39_sec.asc View File

@ -1,5 +1,4 @@
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1
lQOYBFV4Pl8BCACuukQLwsHftH5jkVsSL7COFhamNsEE8lZ8MG1f1Rx5ztPuZTna
YXyWODgpj2Bxz0TcP+Q17GbLKse7TWD1k9i1RzLWz8ZSCLYq2TtjLWPleVuGGWeq


+ 8
- 2
test/Makefile View File

@ -1,5 +1,7 @@
include ../Makefile.conf
export GNUPGHOME=.
CC?=g++ -std=gnu++11 -pthread
CXX?=g++ -std=gnu++11 -pthread
LD?=$(CXX)
@ -27,9 +29,13 @@ all: $(TARGET) $(UNIT_TESTS)
clean:
rm -f *.o $(TARGET) *.a *~ $(UNIT_TESTS) pep_Dokument_Titel.pdf msg4.asc
rm -Rf *.dSYM
rm -Rf *.dSYM .imported pubring.gpg secring.gpg random_seed *.conf trustdb.gpg
.imported:
-cat 0x*.asc *_sec.asc | gpg2 --import
touch .imported
test: pEpEngineTest
test: pEpEngineTest .imported
LD_LIBRARY_PATH=~/lib:../src ./pEpEngineTest
%_test_run : %_test


Loading…
Cancel
Save