History log of /external/toolchain-utils/dejagnu/gdb_dejagnu.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9099a788cd7124024559c064e425ed9caef6e0ac 23-Jul-2016 Caroline Tice <cmtice@google.com> [crosperf] Clean up exceptions.

Found all instances of 'raise Exception' and changed them to raise
something slightly more specific. Changed a few 'except Exception'
statements appropriately as well.

BUG=chromium:566255
TEST=None

Change-Id: If2666bd55838342bc71431e5e6ab2157c2c9e125
Reviewed-on: https://chrome-internal-review.googlesource.com/270731
Commit-Ready: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
a8af9a7a2462b00e72deff99327bdb452a715277 20-Jul-2016 Caroline Tice <cmtice@google.com> [toolchain-utils] Finish switching utils/ to cros_utils/.

This CL finishes switching the subdirectory from 'utils' to
'cros_utils'. It changes all the remaining import statements to
use 'cros_utils'; it removes the 'cros_utils' symlink, and it
renames the 'utils' subdirectory to 'cros_utils'.

BUG=chromium:568195
TEST=ran crosperf & binary search tool unittests.

Change-Id: I7427f8bfb2ddac3a4b6108e46782039059684382
Reviewed-on: https://chrome-internal-review.googlesource.com/270396
Commit-Ready: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Reviewed-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Luis Lozano <llozano@chromium.org>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
f2a3ef46f75d2196a93d3ed27f4d1fcf22b54fbe 15-Dec-2015 Luis Lozano <llozano@chromium.org> Run pyformat on all the toolchain-utils files.

This gets rid of a lot of lint issues.
Ran by doing this:

for f in *.py; do echo -n "$f " ; if [ -x $f ]; then pyformat -i
--remove_trailing_comma --yapf --force_quote_type=double $f ; else
pyformat -i --remove_shebang --remove_trailing_comma --yapf
--force_quote_type=double $f ; fi ; done

BUG=chromium:567921
TEST=Ran simple crosperf run.

Change-Id: I59778835fdaa5f706d2e1765924389f9e97433d1
Reviewed-on: https://chrome-internal-review.googlesource.com/242031
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
036c9233742004aa773a374df381b1cf137484f5 10-Dec-2015 Luis Lozano <llozano@chromium.org> crosperf: RunCommand should return one type of object.

Cleaned up the interfaces for the RunCommand routines.
These were returning different types (int or tuple) depending on
the value of the return_ouput parameter.
Returning different unrelated types from a routine is bad practice.
Linter complains about this with several warnings like this:

"Attempting to unpack a non-sequence defined at line XY of
utils.command_executer"

BUG=chromium:566256
TEST=ran crosperf with a example experiment file
Ran run_tests.

Change-Id: Ibb83ab9322c87558077fc4937ef5c0686bbe5417
Reviewed-on: https://chrome-internal-review.googlesource.com/241459
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
a9c561a571bdbbb99d97d89ce1a242e989165d9e 02-Jan-2014 Yunlian Jiang <yunlian@google.com> gdb dejagnu: updata arm baseline.

BUG=None
TEST=None

Change-Id: I25eb89ac54801d1e35807ba85689cf1256b4cd6d
Reviewed-on: https://chrome-internal-review.googlesource.com/151037
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
0285cf0721e47c7e608dd090c459e327ce3e2679 28-Dec-2013 Yunlian Jiang <yunlian@google.com> update gdb dejagnu test baseline

BUG=None
TEST=Manual.

Change-Id: I7e1b0553d383cda695ba917c4410ce8d99b8a8d6
Reviewed-on: https://chrome-internal-review.googlesource.com/150956
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
dffb0a9cedf0b6f12bef52a2db69524728877bd4 20-Dec-2013 Yunlian Jiang <yunlian@google.com> add gdb dejagnu test adaptor

BUG=None
TEST=Manually tested.

Change-Id: I644f5a62bc69bce8af74d5429948b3ab7253c419
Reviewed-on: https://chrome-internal-review.googlesource.com/150704
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
ae02af5938d3fe75180dea5a6e8fa7a075b302d7 03-Oct-2013 Yunlian Jiang <yunlian@google.com> gdb_dejagnu: print failed tests out.

This prints failed test name out. Also, it ignores
the tests that only appears in the baseline.

BUG=None
TEST=the name of failed tests were printed.

Change-Id: Ie0c3f3d3a092a184a2e941020af62d4e2de40da2
Reviewed-on: https://chrome-internal-review.googlesource.com/145848
Reviewed-by: Simon Que <sque@google.com>
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
1232a252863585ffd0b65764720e14452e89d3e2 02-Oct-2013 Yunlian Jiang <yunlian@google.com> gdb_dejagnu: add space to ssh parameter.

BUG=None
TEST=It passes.

Change-Id: If7413a602b58fce3b0f9472d45ca4e1a35501551
Reviewed-on: https://chrome-internal-review.googlesource.com/145847
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
de98d63638b36e9d2cfd264d82492438f8641fbb 02-Oct-2013 Yunlian Jiang <yunlian@google.com> gdb_dejiagnu: use machine.name instead of machine.

BUG=None
TEST=It can run now.

Change-Id: I53b4596c46341b600097f7cd4154b6945e970492
Reviewed-on: https://chrome-internal-review.googlesource.com/145895
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
34d759e2a60ad7ce7da18031b9a7d9f31d658ef6 10-Sep-2013 Yunlian Jiang <yunlian@google.com> gdb_dejagnu: Use TryAcquireMachine from run_dejagnu.

This fixes some gpylint warnings and uses TryAcquireMachine
from run_dejagnu.

BUG=None
TEST=gdb_dejagnu passes.

Change-Id: I1e7230b00619daec9cea28ca2926e18fb8ac8345
Reviewed-on: https://chrome-internal-review.googlesource.com/144426
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
424bd3846b8c60beb6aa8e1a4f44b7b8288bd2a6 06-Aug-2013 Yunlian Jiang <yunlian@google.com> gdb_dejagnu: update base line for x86_64.

BUG=None
TEST=gdb_dejagnu passes.

Change-Id: Ifdca26c7b6dbe49e496f757c5229a1091263d770
Reviewed-on: https://gerrit-int.chromium.org/42346
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
13a9fc381d3a364b00af9704f4592722ac7f9a1b 07-May-2013 Yunlian Jiang <yunlian@google.com> Add gdb test base line.

This enables a comparison of gdb result with base line.
(The base line is the dejagnu result with current compiler).

BUG=None
TEST=None

Change-Id: I091e2dd0beaf6de231cb616e54b2ccf3e600b47a
Reviewed-on: https://gerrit-int.chromium.org/37477
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
c85b4c359dceeeab0177122448fd4810e5d7a62b 03-May-2013 Yunlian Jiang <yunlian@google.com> fix minor issues in gdb_dejagnu.py

TEST=test passes.
BUG=None

Change-Id: If9e4d996eaec32d25769ec50f1f03e0b3aac42ab
Reviewed-on: https://gerrit-int.chromium.org/37296
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py
f5533e3b5edce07360f6362569f51c726e7ff838 16-Apr-2013 Yunlian Jiang <yunlian@google.com> Add gdb_dejiagnu test script

This is the basic dejagnu test script. Currently it just generate
the board information, compile gdb/gdbserver and run make check.
It needs baseline and some other features later.

BUG=None
TEST=./gdb_dejagnu.py -c /extend/gamma/ -b lumpy -r 172.17.128.241
It finishes the dejagnu run.

Change-Id: I81678926eda640bb5637e6e4dc540a7b9801b000
Reviewed-on: https://gerrit-int.chromium.org/35703
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Yunlian Jiang <yunlian@google.com>
Tested-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/dejagnu/gdb_dejagnu.py