Ignore:
Timestamp:
May 27, 2011 4:18:38 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
0000e4f
Parents:
6a9f73b
Message:

add cpuid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/scripts/testjbigi.sh

    r6a9f73b re3a3a99  
    1414TMP=/tmp/testjbigi$$
    1515mkdir $TMP
     16
     17echo "Testing 32 bit libcpuid ..."
     18ln -s $PWD/libjcpuid-x86-linux.so $TMP/libjcpuid.so
     19java -cp ../../../build/i2p.jar -Djava.library.path=$TMP freenet.support.CPUInformation.CPUID
     20rm -f $TMP/libjcpuid.so
     21echo
     22
     23echo "Testing 64 bit libcpuid ..."
     24ln -s $PWD/libjcpuid-x86_64-linux.so $TMP/libjcpuid.so
     25java -cp ../../../build/i2p.jar -Djava.library.path=$TMP freenet.support.CPUInformation.CPUID
     26rm -f $TMP/libjcpuid.so
     27echo
     28
     29
     30
     31
    1632for i in libjbigi-linux-*.so
    1733do
     
    2541                FAIL=1
    2642        fi
    27         rm $TMP/libjbigi.so
     43        rm -f $TMP/libjbigi.so
    2844        echo
    2945done
Note: See TracChangeset for help on using the changeset viewer.