Re: [PATCH] Bug 774122 - allow the testsuite to run



Hello,

Hubert Figuière <hub figuiere net> a écrit:

[...]

Subject: [PATCH] Bug 774122 - Part 1: Make tests more robust

Remove some failures unrelated and some hangs due to actual failure.

        * tests/test-utils.h: New file. Macros to setup Glib timeout.
        * tests/Makefile.am: Added test-utils.h where applicable.
        * tests/test-breakpoint.cc (test_main): Setup a test timer.
          (on_engine_died_signal): ensure to quit the loop in case of exception
          to avoid a hang.
        * tests/test_deref.cc (test_main): Setup a test timer.
        * tests/test_gdbmi.cc (test_str1) (test_str3): Wrap MESSAGE()
          into try block because Glib::locale_from_utf8() might throw.
        * tests/test-pretty-print.cc (test_main): Setup a test timer.
        * tests/test-var-walker.cc (test_main): Setup a test timer.
        * tests/test-variable-format.cc (on_var_evaluated): ensure to quit
          the loop in case of exception to avoid a hang.
          (test_main): Setup a test timer.
        * tests/test-local-vars-list.cc (test_main): Setup a test timer.

This is OK to commit to master.

Thanks!

-- 
                Dodji


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]