Explorar o código

Finished test of complex lib (forgotten file)

Konstantin Ladutenko %!s(int64=10) %!d(string=hai) anos
pai
achega
b88b5ff048
Modificáronse 1 ficheiros con 20 adicións e 0 borrados
  1. 20 0
      tests/dev/run-test-complex-lib.sh

+ 20 - 0
tests/dev/run-test-complex-lib.sh

@@ -0,0 +1,20 @@
+#!/bin/bash
+echo Run test of complex libs
+echo **Debug
+echo ***Clang
+rm -rf *.bin
+clang++ -std=c++11 test-complex-lib.cc ../../ucomplex.cc -o test-complex-lib.cc.bin
+./test-complex-lib.cc.bin
+echo ***Gcc
+rm -rf *.bin
+g++ -std=c++11 test-complex-lib.cc ../../ucomplex.cc -o test-complex-lib.cc.bin
+./test-complex-lib.cc.bin
+echo **Build
+echo ***Clang
+rm -rf *.bin
+clang++ -std=c++11 -O2 test-complex-lib.cc ../../ucomplex.cc -o test-complex-lib.cc.bin
+./test-complex-lib.cc.bin
+echo ***Gcc
+rm -rf *.bin
+g++ -std=c++11 -O2  test-complex-lib.cc ../../ucomplex.cc -o test-complex-lib.cc.bin
+./test-complex-lib.cc.bin