Skip to content

Instantly share code, notes, and snippets.

@wapcaplet
Created April 18, 2020 02:36
Show Gist options
  • Save wapcaplet/f5a8b9c0fa9f1684c1911e4e9c04782f to your computer and use it in GitHub Desktop.
Save wapcaplet/f5a8b9c0fa9f1684c1911e4e9c04782f to your computer and use it in GitHub Desktop.
20:27:56.272 INFO : Number of render drivers on your system: 3
20:27:56.272 INFO : Render driver: 0/opengl
20:27:56.272 INFO : Render driver: 1/opengles2
20:27:56.272 INFO : Render driver: 2/software
20:27:56.280 WARNING : opendir [./mods/] failed with "No such file or directory".
20:27:57.544 WARNING : opendir [./save/Tom/mods] failed with "No such file or directory".
Starting the actual test at Fri Apr 17 20:28:01 2020
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cata_test is a Catch v2.9.1 host application.
Run with -? for options
-------------------------------------------------------------------------------
tool_use
clean_water
-------------------------------------------------------------------------------
crafting_test.cpp:437
...............................................................................
crafting_test.cpp:301: FAILED:
REQUIRE( can_craft == expect_craftable )
with expansion:
false == true
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, and continues until the craft is completed
-------------------------------------------------------------------------------
crafting_test.cpp:523
...............................................................................
crafting_test.cpp:301: FAILED:
REQUIRE( can_craft == expect_craftable )
with expansion:
false == true
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, but is interrupted after 2 turns
-------------------------------------------------------------------------------
crafting_test.cpp:536
...............................................................................
crafting_test.cpp:301: FAILED:
REQUIRE( can_craft == expect_craftable )
with expansion:
false == true
20:28:10.333 ERROR : (error message will follow backtrace)
tests/cata_test(_Z21debug_write_backtraceRSo+0x23) [0xef63c8]
tests/cata_test(_Z8DebugLog10DebugLevel10DebugClass+0x214) [0xef5dce]
tests/cata_test(_Z12realDebugmsgPKcS0_S0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5a) [0xef5575]
tests/cata_test(_ZN16Creature_tracker6removeERK7monster+0x16d) [0x18086e5]
tests/cata_test(_ZN4game15despawn_monsterER7monster+0x3e) [0xf7ad1a]
tests/cata_test(_ZN8trapfunc5ledgeERK8tripointP8CreatureP4item+0x18b) [0x1653f16]
tests/cata_test(_ZNK4trap7triggerERK8tripointP8CreatureP4item+0x66) [0x164821a]
tests/cata_test(_ZN7monster4moveEv+0x480) [0x133f076]
tests/cata_test() [0xc93288]
tests/cata_test() [0xc9341d]
tests/cata_test() [0xc91cdc]
tests/cata_test(_ZN5Catch10RunContext20invokeActiveTestCaseEv+0x19) [0xd8a1b1]
tests/cata_test(_ZN5Catch10RunContext14runCurrentTestERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_+0x161) [0xd891a3]
tests/cata_test(_ZN5Catch10RunContext7runTestERKNS_8TestCaseE+0x185) [0xd88b07]
tests/cata_test(_ZN5Catch7Session11runInternalEv+0x602) [0xd8c6bc]
tests/cata_test(_ZN5Catch7Session3runEv+0x62) [0xd8c056]
tests/cata_test(main+0xdbd) [0xd99963]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f65ecd2a1e3]
tests/cata_test(_start+0x2e) [0xb0fe8e]
Attempting to repeat stack trace using debug symbols…
debug_write_backtrace(std::ostream&)
…/src/debug.cpp:777
DebugLog(DebugLevel, DebugClass)
…/src/debug.cpp:943
realDebugmsg(char const*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
…/src/debug.cpp:115
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_local_data() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:203
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_is_local() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:222
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:231
~basic_string
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:658
void realDebugmsg<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, char const*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
…/src/debug.h:79
Creature_tracker::remove(monster const&)
…/src/creature_tracker.cpp:180
game::despawn_monster(monster&)
…/src/game.cpp:11053
trapfunc::ledge(tripoint const&, Creature*, item*)
…/src/trapfunc.cpp:1143
trap::trigger(tripoint const&, Creature*, item*) const
…/src/trap.cpp:238
monster::move()
…/src/monmove.cpp:706
moves_to_destination(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, tripoint const&, tripoint const&)
/home/eric/git/cdda/hack/tests/monster_test.cpp:46
monster_check()
monster_test.cpp:?
____C_A_T_C_H____T_E_S_T____14()
monster_test.cpp:?
Catch::RunContext::invokeActiveTestCase()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12321
Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12293
Catch::RunContext::runTest(Catch::TestCase const&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12055
Catch::Session::runInternal()
??:?
Catch::Session::runInternal()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12823
Catch::Session::run()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12780
main
??:?
__libc_start_main
??:?
_start
??:?
Backtrace emission took 1 seconds.
src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pig
20:28:11.253 ERROR : src/creature_tracker.cpp:180 [void Creature_tracker::remove(const monster &)] Tried to remove invalid monster pigStack trace at fatal error:
tests/cata_test(_Z21debug_write_backtraceRSo+0x23) [0xef63c8]
tests/cata_test(_ZN12CataListener14assertionEndedERKN5Catch14AssertionStatsE+0x2c) [0xdc2408]
tests/cata_test(_ZN5Catch17ListeningReporter14assertionEndedERKNS_14AssertionStatsE+0x27) [0xd971d7]
tests/cata_test(_ZN5Catch10RunContext14assertionEndedERKNS_15AssertionResultE+0x8d) [0xd89577]
tests/cata_test(_ZN5Catch10RunContext25handleFatalErrorConditionENS_9StringRefE+0x17f) [0xd89c87]
tests/cata_test(_ZN5Catch21FatalConditionHandler12handleSignalEi+0xac) [0xd83ca2]
/lib/x86_64-linux-gnu/libc.so.6(+0x46470) [0x7f65ecd49470]
tests/cata_test(_ZNK3map6veh_atERK8tripoint+0x18) [0x11ef7d2]
tests/cata_test(_ZN7monster4moveEv+0x56c) [0x133f162]
tests/cata_test() [0xc93288]
tests/cata_test() [0xc9341d]
tests/cata_test() [0xc91cdc]
tests/cata_test(_ZN5Catch10RunContext20invokeActiveTestCaseEv+0x19) [0xd8a1b1]
tests/cata_test(_ZN5Catch10RunContext14runCurrentTestERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_+0x161) [0xd891a3]
tests/cata_test(_ZN5Catch10RunContext7runTestERKNS_8TestCaseE+0x185) [0xd88b07]
tests/cata_test(_ZN5Catch7Session11runInternalEv+0x602) [0xd8c6bc]
tests/cata_test(_ZN5Catch7Session3runEv+0x62) [0xd8c056]
tests/cata_test(main+0xdbd) [0xd99963]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f65ecd2a1e3]
tests/cata_test(_start+0x2e) [0xb0fe8e]
Attempting to repeat stack trace using debug symbols…
debug_write_backtrace(std::ostream&)
…/src/debug.cpp:777
CataListener::assertionEnded(Catch::AssertionStats const&)
/home/eric/git/cdda/hack/tests/test_main.cpp:247
__gnu_cxx::__normal_iterator<std::unique_ptr<Catch::IStreamingReporter, std::default_delete<Catch::IStreamingReporter> >*, std::vector<std::unique_ptr<Catch::IStreamingReporter, std::default_delete<Catch::IStreamingReporter> >, std::allocator<std::unique_ptr<Catch::IStreamingReporter, std::default_delete<Catch::IStreamingReporter> > > > >::operator++()
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_iterator.h:829
Catch::ListeningReporter::assertionEnded(Catch::AssertionStats const&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:16126
Catch::RunContext::assertionEnded(Catch::AssertionResult const&)
??:?
Catch::RunContext::handleFatalErrorCondition(Catch::StringRef)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12226
~StringRef
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:588
(anonymous namespace)::reportFatal(char const*)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:10304
Catch::FatalConditionHandler::handleSignal(int)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:10398
??
??:0
map::veh_at(tripoint const&) const
…/src/map.cpp:921
std::__uniq_ptr_impl<game, std::default_delete<game> >::_M_ptr() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:154
std::unique_ptr<game, std::default_delete<game> >::get() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:353
std::unique_ptr<game, std::default_delete<game> >::operator->() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:347
monster::move()
…/src/monmove.cpp:741
moves_to_destination(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, tripoint const&, tripoint const&)
/home/eric/git/cdda/hack/tests/monster_test.cpp:46
monster_check()
monster_test.cpp:?
____C_A_T_C_H____T_E_S_T____14()
monster_test.cpp:?
Catch::RunContext::invokeActiveTestCase()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12321
Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12293
Catch::RunContext::runTest(Catch::TestCase const&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12055
Catch::Session::runInternal()
??:?
Catch::Session::runInternal()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12823
Catch::Session::run()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12780
main
??:?
__libc_start_main
??:?
_start
??:?
-------------------------------------------------------------------------------
monster_speed_square
-------------------------------------------------------------------------------
monster_test.cpp:317
...............................................................................
monster_test.cpp:32: FAILED:
{Unknown expression after the reported line}
due to a fatal error condition:
SIGSEGV - Segmentation violation signal
===============================================================================
test cases: 241 | 238 passed | 3 failed
assertions: 1,674,787 | 1,674,783 passed | 4 failed
@wapcaplet
Copy link
Author

These failures are what I get when I run tests/cata_test on my branch:
https://github.com/wapcaplet/Cataclysm-DDA/tree/dodge-hit-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment