소스 검색

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