This commit is contained in:
iceman1001 2022-10-29 01:01:06 +02:00
commit 99659db10a
5 changed files with 60 additions and 8 deletions

View file

@ -2,7 +2,11 @@ FROM fedora:34
ENV LANG C ENV LANG C
# qt5-qtbase-devel skipped # qt5-qtbase-devel skipped
RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel bluez-libs-devel python3-devel openssl-devel libatomic RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel bluez-libs-devel python3-devel openssl-devel libatomic findutils
RUN yum -y update
RUN yum -y install cmake python-pip
RUN python3 -m pip install ansicolors sslcrypto
# Create rrg user # Create rrg user
RUN useradd -ms /bin/bash rrg RUN useradd -ms /bin/bash rrg

View file

@ -1,9 +1,23 @@
# Notes on run_tests.sh script
This script does both strip the "recover_pk test" in pm3_tests.sh and then run a
bunch of different builds with make and cmake together with the different combos
of RDV4, GENERIC, BTADDON combos.
If all tests OK, the script will finish.
# Notes to run tests # Notes to run tests
The script is to be run in proxmark root folder inside the docker env.
```
docker/fedora-34/run_tests.sh;
```
Or if you want to run single test,
``` ```
sudo yum -y update sudo yum -y update
sudo yum -y install cmake python-pip make clean; make -j
python3 -m pip install ansicolors sslcrypto
tools/pm3_tests.sh --long tools/pm3_tests.sh --long
``` ```

View file

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-fedora-34:1.0 docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-34:1.0

View file

@ -1,8 +1,24 @@
# Notes to run tests # Notes on run_tests.sh script
This script does both setup and then run a
bunch of different builds with make and cmake together with the different combos
of RDV4, GENERIC, BTADDON combos.
No ARM compiler available ? If all tests OK, the script will finish.
# Notes to run tests
The script is to be run in proxmark root folder inside the docker env.
```
docker/opensuse-leap/run_tests.sh;
```
Or if you want to run single test,
``` ```
make clean; make -j make clean; make -j
tools/pm3_tests.sh --long mfkey nonce2key mf_nonce_brute fpga_compress common client tools/pm3_tests.sh --long mfkey nonce2key mf_nonce_brute fpga_compress common client
``` ```
No ARM compiler available ?

View file

@ -1,6 +1,24 @@
# Notes on run_tests.sh script
This script does both setup and then run a
bunch of different builds with make and cmake together with the different combos
of RDV4, GENERIC, BTADDON combos.
If all tests OK, the script will finish.
# Notes to run tests # Notes to run tests
The script is to be run in proxmark root folder inside the docker env.
```
docker/opensuse-tumbleweed/run_tests.sh;
```
Or if you want to run single test,
``` ```
make clean; make -j make clean; make -j
tools/pm3_tests.sh --long tools/pm3_tests.sh --long mfkey nonce2key mf_nonce_brute fpga_compress common client
``` ```
No ARM compiler available ?