From: Thomas W. <tc...@to...> - 2007-05-22 13:19:51
|
Hi, > I use JTSS and not JTSSWrapper and i tried to compile > iak.jtss.tsp.tests.jar in the tests subfolder: > > java -jar iaik.jtss.tsp.tests.jar Interesting. Where did you read that the tests can be run this way? First of all you do not have to "compile" a jar file. It already contains the compiled class files. Secondly, the section 5 of the jTSS readme reads: "[...] Additionally to the provided JavaDoc, some example code demonstrating the basic usage of IAIK jTSS is included in the src/jtss_tsp/src_tests subfolder. It contains a set of jUnit test cases which can be used as a basis for own developments. A precompiled version of this test code is located in the tests subfolder. A shell script to run the tests is included. [...]" > What is the problem? Maybe i do something wrong, i don't know. Considering the readme snippet from above: Yes you probably are doing something wrong (reading documentation might help here....). Anyway - to get you going: * go into the tests folder * there you will find a run_tests.sh (and run_tests.cmd if you are using the other OS) * the tests require jUnit so you might have to adapt the script file (or under set the JUNIT_HOME environment variable when running on Linux) * start the script and if your TPM is accessible via the dev filesystem (or TBS on the other OS) then you should see the test output messages on your screen. hth && please read the docs next time, -- Thomas Winkler e-mail: tc...@to... |