cppjieba icon indicating copy to clipboard operation
cppjieba copied to clipboard

mingw 跑测试失败

Open TangMonk opened this issue 5 years ago • 1 comments

PS C:\Users\wuao\cppjieba\build2> mingw32-make.exe test
Running tests...
Test project C:/Users/wuao/cppjieba/build2
    Start 1: ./test/test.run
1/3 Test #1: ./test/test.run ..................***Exception: SegFault  0.07 sec
    Start 2: ./load_test
2/3 Test #2: ./load_test ......................***Exception: SegFault  0.05 sec
    Start 3: ./demo
3/3 Test #3: ./demo ...........................***Exception: SegFault  0.02 sec

0% tests passed, 3 tests failed out of 3

Total Test time (real) =   0.17 sec

The following tests FAILED:
          1 - ./test/test.run (SEGFAULT)
          2 - ./load_test (SEGFAULT)
          3 - ./demo (SEGFAULT)
Errors while running CTest
Makefile:88: recipe for target 'test' failed
mingw32-make: *** [test] Error 8

执行 ./demo.exe 后也没反应

TangMonk avatar Feb 16 '20 01:02 TangMonk

在win10的Ubuntu WSL上测试了下,能跑。看来对WIndows不是太友好啊,VS2019也不能编译

TangMonk avatar Feb 16 '20 01:02 TangMonk