root/middleware-offline/trunk/sdk-examples/sdk-NewVersion/testWebLibs.sh @ 147

Revision 147, 0.9 KB (checked in by vsilva, 8 years ago)

Update SDK Examples. Including example to change EMV-CAP PIN

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3# ARCH SHOULD HAVE THE VALUES "32" or "64"
4ARCH=64
5
6URL_LIBS_TO_TEST=http://projects.caixamagica.pt/projects/cartaocidadao/repository/middleware-offline/builds/2012-05-09/caixamagica-16-32/pteid-pkg-web.tar.gz
7
8
9URL_TEST_SUITE=http://projects.caixamagica.pt/projects/cartaocidadao/repository/middleware-offline/tools/test-suite/sdk-NewVersion/java/src
10WORK_DIR=~/test_web_libs_pteid
11
12mkdir -p $WORK_DIR
13echo  $WORK_DIR
14rm -rf $WORK_DIR/*
15cd $WORK_DIR
16
17## Export and extract Libs to be tested:
18svn export $URL_LIBS_TO_TEST pkg_to_test.tar.gz
19tar xzvf pkg_to_test.tar.gz
20
21## Export native libs
22svn export http://projects.caixamagica.pt/projects/cartaocidadao/repository/middleware-offline/builds/1_native-libs/linux-$ARCH
23mv linux-$ARCH/* pteid-pkg/lib
24
25## Export suite-tests to run tests on SDK:
26svn export $URL_TEST_SUITE java-test
27cd java-test
28
29echo "Now to test your libs:"
30echo "cd $WORK_DIR/java-test"
31echo "make"
32
33
Note: See TracBrowser for help on using the browser.