Makefile revision 6994
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# CDDL HEADER START
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# The contents of this file are subject to the terms of the
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# Common Development and Distribution License (the "License").
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# You may not use this file except in compliance with the License.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# See the License for the specific language governing permissions
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# and limitations under the License.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# When distributing Covered Code, include this CDDL HEADER in each
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# If applicable, add the following below this CDDL HEADER, with the
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# fields enclosed by brackets "[]" replaced with your own identifying
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# information: Portions Copyright [yyyy] [name of copyright owner]
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# CDDL HEADER END
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# Requires physical card reader attached to USB with card inserted.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# SCM Microsystems, model SCR3310 is what was used in-house to test.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# To build the test:
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# $ cd build/[64-bit directory]
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# $ gmake build-test
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# To run the test:
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# $ cd build/[64-bit directory]
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# $ ./testcackey> testoutput.log
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# If the last line of output says:
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# Testing libcackey... DONE. Status = 0
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# then you have a finished test and results.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# Search for CK_FAIL or "failed" in testoutput.log to see the actual failures,
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# if no CK_FAIL or failed were reported, the test ran successfully.
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# The new form includes the commit as a disambiguator, but the current archive
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter Major# wasn't created with that in its name, so we use the old form until the next
32b36b012d0b3ab28eecb13555b3925237c2c5a9Peter MajorCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
# configure.ac related patch needs configure script re-creation