]> git.ipfire.org Git - thirdparty/valgrind.git/commit
update cond_ld_st test and expected outputs
authorPetar Jovanovic <mips32r2@gmail.com>
Sun, 2 Jun 2013 03:22:28 +0000 (03:22 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Sun, 2 Jun 2013 03:22:28 +0000 (03:22 +0000)
commitc195593e527c962a488aaa3481d17565b5e6e01d
tree58cbf3167c2f1c7618b6beb96f997fcc7412b337
parent5a593208b1b8f1c004466f5478698b7e9499717b
update cond_ld_st test and expected outputs

Line numbers are off by one in some outputs since it differs on GCC version
how it will map source code to line number for the ternary operator written
in multiple lines.
This is small fix that replaces one occurrence of ternary operator with
if-then-else. The excepted outputs have been changed accordingly.

This fixes the test memcheck/tests/cond_ld_st for different platforms with
different GCC versions.

Tested on x86, i386, ARM, MIPS32, and MIPS64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13415
memcheck/tests/cond_ld.stderr.exp-32bit-non-arm
memcheck/tests/cond_ld.stderr.exp-64bit-non-arm
memcheck/tests/cond_ld.stderr.exp-arm
memcheck/tests/cond_ld_st.c
memcheck/tests/cond_st.stderr.exp-32bit-non-arm
memcheck/tests/cond_st.stderr.exp-64bit-non-arm
memcheck/tests/cond_st.stderr.exp-arm