LEFT | RIGHT |
(Both sides are equal) |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Copyright (c) 2014, Google Inc. | 3 # Copyright (c) 2014, Google Inc. |
4 # All rights reserved. | 4 # All rights reserved. |
5 # | 5 # |
6 # Redistribution and use in source and binary forms, with or without | 6 # Redistribution and use in source and binary forms, with or without |
7 # modification, are permitted provided that the following conditions are | 7 # modification, are permitted provided that the following conditions are |
8 # met: | 8 # met: |
9 # | 9 # |
10 # * Redistributions of source code must retain the above copyright | 10 # * Redistributions of source code must retain the above copyright |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 set -e # Bail out with an error if any of the commands below fails. | 35 set -e # Bail out with an error if any of the commands below fails. |
36 for ARCH in $MICRODUMP_SUPPORTED_ARCHS; do | 36 for ARCH in $MICRODUMP_SUPPORTED_ARCHS; do |
37 echo "Testing microdump_stackwalk -m for arch $ARCH" | 37 echo "Testing microdump_stackwalk -m for arch $ARCH" |
38 ./src/processor/microdump_stackwalk -m $testdata_dir/microdump-${ARCH}.dmp \ | 38 ./src/processor/microdump_stackwalk -m $testdata_dir/microdump-${ARCH}.dmp \ |
39 $testdata_dir/symbols/microdump | \ | 39 $testdata_dir/symbols/microdump | \ |
40 tr -d '\015' | \ | 40 tr -d '\015' | \ |
41 diff -u $testdata_dir/microdump.stackwalk.machine_readable-${ARCH}.out - | 41 diff -u $testdata_dir/microdump.stackwalk.machine_readable-${ARCH}.out - |
42 done | 42 done |
43 exit 0 | 43 exit 0 |
LEFT | RIGHT |