mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 08:44:52 +02:00
Plumb conversion test into makefile.
This commit is contained in:
parent
f57783f1dd
commit
b1b22dd0df
17
Makefile.in
17
Makefile.in
@ -236,6 +236,8 @@ clean: regressclean
|
|||||||
rm -f regress/unittests/sshkey/test_sshkey
|
rm -f regress/unittests/sshkey/test_sshkey
|
||||||
rm -f regress/unittests/bitmap/*.o
|
rm -f regress/unittests/bitmap/*.o
|
||||||
rm -f regress/unittests/bitmap/test_bitmap
|
rm -f regress/unittests/bitmap/test_bitmap
|
||||||
|
rm -f regress/unittests/conversion/*.o
|
||||||
|
rm -f regress/unittests/conversion/test_conversion
|
||||||
rm -f regress/unittests/hostkeys/*.o
|
rm -f regress/unittests/hostkeys/*.o
|
||||||
rm -f regress/unittests/hostkeys/test_hostkeys
|
rm -f regress/unittests/hostkeys/test_hostkeys
|
||||||
rm -f regress/unittests/kex/*.o
|
rm -f regress/unittests/kex/*.o
|
||||||
@ -262,6 +264,8 @@ distclean: regressclean
|
|||||||
rm -f regress/unittests/sshkey/test_sshkey
|
rm -f regress/unittests/sshkey/test_sshkey
|
||||||
rm -f regress/unittests/bitmap/*.o
|
rm -f regress/unittests/bitmap/*.o
|
||||||
rm -f regress/unittests/bitmap/test_bitmap
|
rm -f regress/unittests/bitmap/test_bitmap
|
||||||
|
rm -f regress/unittests/conversion/*.o
|
||||||
|
rm -f regress/unittests/conversion/test_conversion
|
||||||
rm -f regress/unittests/hostkeys/*.o
|
rm -f regress/unittests/hostkeys/*.o
|
||||||
rm -f regress/unittests/hostkeys/test_hostkeys
|
rm -f regress/unittests/hostkeys/test_hostkeys
|
||||||
rm -f regress/unittests/kex/*.o
|
rm -f regress/unittests/kex/*.o
|
||||||
@ -426,6 +430,8 @@ regress-prep:
|
|||||||
mkdir -p `pwd`/regress/unittests/sshkey
|
mkdir -p `pwd`/regress/unittests/sshkey
|
||||||
[ -d `pwd`/regress/unittests/bitmap ] || \
|
[ -d `pwd`/regress/unittests/bitmap ] || \
|
||||||
mkdir -p `pwd`/regress/unittests/bitmap
|
mkdir -p `pwd`/regress/unittests/bitmap
|
||||||
|
[ -d `pwd`/regress/unittests/conversion ] || \
|
||||||
|
mkdir -p `pwd`/regress/unittests/conversion
|
||||||
[ -d `pwd`/regress/unittests/hostkeys ] || \
|
[ -d `pwd`/regress/unittests/hostkeys ] || \
|
||||||
mkdir -p `pwd`/regress/unittests/hostkeys
|
mkdir -p `pwd`/regress/unittests/hostkeys
|
||||||
[ -d `pwd`/regress/unittests/kex ] || \
|
[ -d `pwd`/regress/unittests/kex ] || \
|
||||||
@ -503,6 +509,16 @@ regress/unittests/bitmap/test_bitmap$(EXEEXT): ${UNITTESTS_TEST_BITMAP_OBJS} \
|
|||||||
regress/unittests/test_helper/libtest_helper.a \
|
regress/unittests/test_helper/libtest_helper.a \
|
||||||
-lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
|
-lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
|
||||||
|
|
||||||
|
UNITTESTS_TEST_CONVERSION_OBJS=\
|
||||||
|
regress/unittests/conversion/tests.o
|
||||||
|
|
||||||
|
regress/unittests/conversion/test_conversion$(EXEEXT): \
|
||||||
|
${UNITTESTS_TEST_CONVERSION_OBJS} \
|
||||||
|
regress/unittests/test_helper/libtest_helper.a libssh.a
|
||||||
|
$(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_CONVERSION_OBJS) \
|
||||||
|
regress/unittests/test_helper/libtest_helper.a \
|
||||||
|
-lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
|
||||||
|
|
||||||
UNITTESTS_TEST_KEX_OBJS=\
|
UNITTESTS_TEST_KEX_OBJS=\
|
||||||
regress/unittests/kex/tests.o \
|
regress/unittests/kex/tests.o \
|
||||||
regress/unittests/kex/test_kex.o
|
regress/unittests/kex/test_kex.o
|
||||||
@ -558,6 +574,7 @@ regress-binaries: regress/modpipe$(EXEEXT) \
|
|||||||
regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \
|
regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \
|
||||||
regress/unittests/sshkey/test_sshkey$(EXEEXT) \
|
regress/unittests/sshkey/test_sshkey$(EXEEXT) \
|
||||||
regress/unittests/bitmap/test_bitmap$(EXEEXT) \
|
regress/unittests/bitmap/test_bitmap$(EXEEXT) \
|
||||||
|
regress/unittests/conversion/test_conversion$(EXEEXT) \
|
||||||
regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \
|
regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \
|
||||||
regress/unittests/kex/test_kex$(EXEEXT) \
|
regress/unittests/kex/test_kex$(EXEEXT) \
|
||||||
regress/unittests/match/test_match$(EXEEXT) \
|
regress/unittests/match/test_match$(EXEEXT) \
|
||||||
|
@ -222,6 +222,7 @@ unit:
|
|||||||
$$V ${.OBJDIR}/unittests/sshkey/test_sshkey \
|
$$V ${.OBJDIR}/unittests/sshkey/test_sshkey \
|
||||||
-d ${.CURDIR}/unittests/sshkey/testdata ; \
|
-d ${.CURDIR}/unittests/sshkey/testdata ; \
|
||||||
$$V ${.OBJDIR}/unittests/bitmap/test_bitmap ; \
|
$$V ${.OBJDIR}/unittests/bitmap/test_bitmap ; \
|
||||||
|
$$V ${.OBJDIR}/unittests/conversion/test_conversion ; \
|
||||||
$$V ${.OBJDIR}/unittests/kex/test_kex ; \
|
$$V ${.OBJDIR}/unittests/kex/test_kex ; \
|
||||||
$$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \
|
$$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \
|
||||||
-d ${.CURDIR}/unittests/hostkeys/testdata ; \
|
-d ${.CURDIR}/unittests/hostkeys/testdata ; \
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "test_helper.h"
|
#include "../test_helper/test_helper.h"
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user