diff --git a/circle.yml b/circle.yml index 4a7870f2f..240762e9c 100644 --- a/circle.yml +++ b/circle.yml @@ -20,18 +20,9 @@ test: pre: - scons clang.debug override: - - | # create gdb script - echo "set env MALLOC_CHECK_=3" > script.gdb - echo "run" >> script.gdb - echo "backtrace full" >> script.gdb - # gdb --help - # gdb segfaults - # - cat script.gdb | gdb --ex 'set print thread-events off' --return-child-result --args build/clang.debug/rippled --unittest - - build/clang.debug/rippled --unittest + # Execute unit tests under gdb + - gdb -return-child-result -quiet -batch -ex "set env MALLOC_CHECK_=3" -ex "set print thread-events off" -ex run -ex "thread apply all backtrace full" -ex "quit" --args build/clang.debug/rippled --unittest - npm install --progress=false - # Use build/(gcc|clang).debug/rippled - | echo "exports.default_server_config = {\"rippled_path\" : \"$HOME/rippled/build/clang.debug/rippled\"};" > test/config.js - - # Run integration tests - npm test