test.sh 256 B

123456789101112
  1. #!/bin/bash
  2. cd .. || exit 5
  3. if [ ! -d "Prusa-Firmware-test" ]; then
  4. mkdir Prusa-Firmware-test || exit 10
  5. fi
  6. cd Prusa-Firmware-test || exit 20
  7. cmake -G "Eclipse CDT4 - Ninja" ../Prusa-Firmware || exit 30
  8. cmake --build . || exit 35
  9. ./tests || exit 40