move basic.sh test to subdir of tool
This commit is contained in:
+3
-3
@@ -34,8 +34,6 @@ yubico-piv-tool-*.tar.gz
|
|||||||
yubico-piv-tool-*.tar.gz.sig
|
yubico-piv-tool-*.tar.gz.sig
|
||||||
yubico-piv-tool-*-mac.zip
|
yubico-piv-tool-*-mac.zip
|
||||||
yubico-piv-tool-*-mac.zip.sig
|
yubico-piv-tool-*-mac.zip.sig
|
||||||
tests/basic.sh.log
|
|
||||||
tests/basic.sh.trs
|
|
||||||
tests/test-suite.log
|
tests/test-suite.log
|
||||||
tests/basic
|
tests/basic
|
||||||
tests/basic.log
|
tests/basic.log
|
||||||
@@ -68,4 +66,6 @@ tool/libpiv_cmd_la-cmdline.o
|
|||||||
tool/libpiv_util.la
|
tool/libpiv_util.la
|
||||||
tool/util.lo
|
tool/util.lo
|
||||||
tool/util.o
|
tool/util.o
|
||||||
|
tool/tests/basic.sh.log
|
||||||
|
tool/tests/basic.sh.trs
|
||||||
|
tool/tests/test-suite.log
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ AC_CONFIG_FILES([
|
|||||||
Makefile
|
Makefile
|
||||||
lib/Makefile
|
lib/Makefile
|
||||||
tool/Makefile
|
tool/Makefile
|
||||||
|
tool/tests/Makefile
|
||||||
tests/Makefile
|
tests/Makefile
|
||||||
lib/ykpiv-version.h
|
lib/ykpiv-version.h
|
||||||
lib/ykpiv.pc
|
lib/ykpiv.pc
|
||||||
|
|||||||
+1
-3
@@ -24,8 +24,6 @@
|
|||||||
# non-source form of such a combination shall include the source code
|
# non-source form of such a combination shall include the source code
|
||||||
# for the parts of OpenSSL used as well as that of the covered work.
|
# for the parts of OpenSSL used as well as that of the covered work.
|
||||||
|
|
||||||
TESTS_ENVIRONMENT = export VERSION=$(VERSION); export EXEEXT=$(EXEEXT);
|
|
||||||
|
|
||||||
AM_CFLAGS = $(WARN_CFLAGS)
|
AM_CFLAGS = $(WARN_CFLAGS)
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
|
AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
|
||||||
|
|
||||||
@@ -33,4 +31,4 @@ AM_LDFLAGS = -no-install
|
|||||||
LDADD = ../lib/libykpiv.la
|
LDADD = ../lib/libykpiv.la
|
||||||
|
|
||||||
check_PROGRAMS = basic parse_key
|
check_PROGRAMS = basic parse_key
|
||||||
TESTS = basic.sh $(check_PROGRAMS)
|
TESTS = $(check_PROGRAMS)
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
# non-source form of such a combination shall include the source code
|
# non-source form of such a combination shall include the source code
|
||||||
# for the parts of OpenSSL used as well as that of the covered work.
|
# for the parts of OpenSSL used as well as that of the covered work.
|
||||||
|
|
||||||
|
SUBDIRS = . tests
|
||||||
|
|
||||||
AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
|
AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
|
||||||
AM_CPPFLAGS = $(OPENSSL_CFLAGS)
|
AM_CPPFLAGS = $(OPENSSL_CFLAGS)
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/lib -I$(top_builddir)/lib
|
AM_CPPFLAGS += -I$(top_srcdir)/lib -I$(top_builddir)/lib
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# Copyright (c) 2014 Yubico AB
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
# Additional permission under GNU GPL version 3 section 7
|
||||||
|
#
|
||||||
|
# If you modify this program, or any covered work, by linking or
|
||||||
|
# combining it with the OpenSSL project's OpenSSL library (or a
|
||||||
|
# modified version of that library), containing parts covered by the
|
||||||
|
# terms of the OpenSSL or SSLeay licenses, We grant you additional
|
||||||
|
# permission to convey the resulting work. Corresponding Source for a
|
||||||
|
# non-source form of such a combination shall include the source code
|
||||||
|
# for the parts of OpenSSL used as well as that of the covered work.
|
||||||
|
|
||||||
|
TESTS_ENVIRONMENT = export VERSION=$(VERSION); export EXEEXT=$(EXEEXT);
|
||||||
|
|
||||||
|
TESTS = basic.sh
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
BIN="../tool/yubico-piv-tool${EXEEXT}"
|
BIN="../yubico-piv-tool${EXEEXT}"
|
||||||
|
|
||||||
HELP_OUTPUT=$($BIN --help)
|
HELP_OUTPUT=$($BIN --help)
|
||||||
|
|
||||||
Reference in New Issue
Block a user