diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2022-06-13 19:03:55 +0100 |
---|---|---|
committer | Stephen Tozer <stephen.tozer@sony.com> | 2022-06-13 19:07:18 +0100 |
commit | ec7c959671e80a0853d23e7b5d099b4361619ece (patch) | |
tree | 1a0b622483382d9e0a57f89d2593bb11cd168f8e /cross-project-tests | |
parent | 224094eb447f8d5691ec65f5f53c5a6d085c2e2f (diff) | |
download | llvm-ec7c959671e80a0853d23e7b5d099b4361619ece.zip llvm-ec7c959671e80a0853d23e7b5d099b4361619ece.tar.gz llvm-ec7c959671e80a0853d23e7b5d099b4361619ece.tar.bz2 |
[Dexter] Fix incorrect test expectations for floating point tests
A pair of tests had incorrect expectations set, one being an off-by-one
error and the other using decimal points in the expect that lldb omits.
Diffstat (limited to 'cross-project-tests')
2 files changed, 2 insertions, 2 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp index 5ca1c74..0d7e1f6 100644 --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp @@ -15,4 +15,4 @@ int main() { return a; //DexLabel('check2') } -// DexExpectWatchValue('a', '1.0', '100.0', from_line=ref('check1'), to_line=ref('check2'), float_range=0.5) +// DexExpectWatchValue('a', '1.0', '101.0', from_line=ref('check1'), to_line=ref('check2'), float_range=0.5) diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp index b9e1d22..e734cc2 100644 --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp @@ -13,4 +13,4 @@ int main() { return a; //DexLabel('check') } -// DexExpectWatchValue('a', '1.00000', on_line=ref('check')) +// DexExpectWatchValue('a', '1', on_line=ref('check')) |