equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
46 fi |
46 fi |
47 echo TESTSRC=${TESTSRC} |
47 echo TESTSRC=${TESTSRC} |
48 echo TESTCLASSES=${TESTCLASSES} |
48 echo TESTCLASSES=${TESTCLASSES} |
49 echo TESTJAVA=${TESTJAVA} |
49 echo TESTJAVA=${TESTJAVA} |
50 echo COMPILEJAVA=${COMPILEJAVA} |
50 echo COMPILEJAVA=${COMPILEJAVA} |
|
51 echo CPAPPEND=${CPAPPEND} |
51 echo "" |
52 echo "" |
52 |
53 |
53 # let java test exit if platform unsupported |
54 # let java test exit if platform unsupported |
54 |
55 |
55 OS=`uname -s` |
56 OS=`uname -s` |
103 # compile test |
104 # compile test |
104 |
105 |
105 ${COMPILEJAVA}${FS}bin${FS}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \ |
106 ${COMPILEJAVA}${FS}bin${FS}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \ |
106 -classpath ${TESTSRC}${FS}.. \ |
107 -classpath ${TESTSRC}${FS}.. \ |
107 -d ${TESTCLASSES} \ |
108 -d ${TESTCLASSES} \ |
|
109 ${TESTSRC}${FS}..${FS}..${FS}..${FS}..${FS}..${FS}lib${FS}jdk${FS}test${FS}lib${FS}artifacts${FS}*.java \ |
108 ${TESTSRC}${FS}ConfigQuotedString.java \ |
110 ${TESTSRC}${FS}ConfigQuotedString.java \ |
109 ${TESTSRC}${FS}..${FS}PKCS11Test.java |
111 ${TESTSRC}${FS}..${FS}PKCS11Test.java |
110 |
112 |
111 # run test |
113 # run test |
112 |
114 |
113 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} \ |
115 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} \ |
114 -classpath ${TESTCLASSES} \ |
116 -classpath ${TESTCLASSES}${PS}${CPAPPEND} \ |
115 -DCUSTOM_P11_CONFIG=${TESTSRC}${FS}ConfigQuotedString-nss.txt \ |
117 -DCUSTOM_P11_CONFIG=${TESTSRC}${FS}ConfigQuotedString-nss.txt \ |
116 -Dtest.src=${TESTSRC} \ |
118 -Dtest.src=${TESTSRC} \ |
117 -Dtest.classes=${TESTCLASSES} \ |
119 -Dtest.classes=${TESTCLASSES} \ |
118 ConfigQuotedString |
120 ConfigQuotedString |
119 |
121 |