From 9414a67dfd997ff1e188f0b74c3a9915c6fb80e0 Mon Sep 17 00:00:00 2001 From: Mike Sullivan Date: Tue, 14 Aug 2018 20:43:22 +0000 Subject: main/boost: fix and reenable failing debugger tests In debugger::debug_parent_wait() the variable ch was mistakenly defined to be a char and used to obtain a value from ch = fgetc( command_child ); Later in the code a compare of the truncated ch (0xff) to the constant EOF (0xffffffff) would fail resulting in errors between the expected and actual values returned in the debugger.py and debugger-mi.py tests. Since fgetc is defined to return an int the declaration of ch was modified and the truncation eliminated. I will post the patch to the boost/build community as well. --- main/boost/disable-debugger-test.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 main/boost/disable-debugger-test.patch (limited to 'main/boost/disable-debugger-test.patch') diff --git a/main/boost/disable-debugger-test.patch b/main/boost/disable-debugger-test.patch deleted file mode 100644 index c315ef56a2..0000000000 --- a/main/boost/disable-debugger-test.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/tools/build/test/test_all.py b/tools/build/test/test_all.py -index 9efddc8..abf3dc5 100644 ---- a/tools/build/test/test_all.py -+++ b/tools/build/test/test_all.py -@@ -206,8 +206,8 @@ tests = ["absolute_sources", - "core_update_now", - "core_variables_in_actions", - "custom_generator", -- "debugger", -- "debugger-mi", -+# "debugger", -+# "debugger-mi", - "default_build", - "default_features", - # This test is known to be broken itself. -- cgit v1.2.3