ソースを参照

Finished test of complex lib (forgotten file)

Konstantin Ladutenko 10 年 前
コミット
b88b5ff048
1 ファイル変更20 行追加0 行削除
  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