[#5889] toolchain-regtest -r (test compare) option has multiple issues
Submitted By: Mike Frysinger
2010-02-08 04:00:22 Close Date
N/A Silicon Revision:
Fixed Fixed In Release:
Host Operating System:
Closed Found In Release:
Is this bug repeatable?:
Summary: toolchain-regtest -r (test compare) option has multiple issues
the -r option has multiple problems when trying to use it with the simulator
test results are stored in .../tests/simulator/, but the code that does the comparison (around line 2215) is given a target name of "elf-sim" instead of "simulator" and so it never finds the old tests to compare to.
if only running simulator tests, the GCC_VERSION variable never gets set so when trying to execute gcc-$GCC_VERSION/contrib/compare_tests, it cant be found.
the path to -r is supposed to be absolute, but the error message is confusing as it checks for "$RESULTS2COMPARE/$2/$COMP" but then displays "$RESULTS2COMPARE/$2/$FILE" in the error output. this ends up showing double long paths in the error output. i think just the /$FILE needs changing to /$COMP.
--- Mike Frysinger 2010-02-08 07:31:49
i fixed (3)
there was also a 4th issue: the args to compare_tests were swapped (so it
treated the new tests as the old and the old tests as the new). i fixed that
not sure how you want to address (1) or (2) ...
--- Mike Frysinger 2010-02-09 00:55:58
i fixed (2) by having it fall back to an automatic search and i just changed all
"simulator" references to "bfin-elf" for (1)
File Name File Type File Size Posted By
No Files Were Found