diff options
| author | Mike Sullivan <mksully22@gmail.com> | 2018-08-14 20:43:22 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-16 10:08:37 +0000 |
| commit | 9414a67dfd997ff1e188f0b74c3a9915c6fb80e0 (patch) | |
| tree | dce2443ddadf403f6b84e2ec1a9cb321b2375099 /main/boost/disable-debugger-test.patch | |
| parent | 5034463a7f8dceb675256dd68d8740f7a3f4ba74 (diff) | |
| download | aports-9414a67dfd997ff1e188f0b74c3a9915c6fb80e0.tar.bz2 aports-9414a67dfd997ff1e188f0b74c3a9915c6fb80e0.tar.xz | |
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.
Diffstat (limited to 'main/boost/disable-debugger-test.patch')
| -rw-r--r-- | main/boost/disable-debugger-test.patch | 15 |
1 files changed, 0 insertions, 15 deletions
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. |
