aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-07-25Merge pull request #18 from sifive/masterAndrew Waterman3-16/+12
Display log file during build if debug testing fails.
2016-07-25Display log file during build if testing fails.Tim Newsome3-16/+12
That way somebody doesn't need to spend forever trying to reproduce a travis failure when all they really need is the logfile.
2016-07-22Temporarily stop building debug tests, as they fail in travisAndrew Waterman1-1/+1
@timsifive can you look into why? https://travis-ci.org/riscv/riscv-tools/builds/146759105
2016-07-22skip user-mode trap tests in rv32mi/rv64mi-p-csr if no user modeHoward Mao1-0/+9
2016-07-22Move rv32mi dirty bit test to rv32siAndrew Waterman3-2/+2
2016-07-22Move dirty bit test to rv64si directoryAndrew Waterman6-60/+2
Not sure this is quite right, since the test technically runs in M-mode. Also, remove unused rdnpc/example tests.
2016-07-22Simplify fence.i test for RVCAndrew Waterman1-10/+10
2016-07-22Make ma_fetch test robust against code size changesAndrew Waterman1-2/+4
2016-07-19Merge pull request #17 from timsifive/debugAndrew Waterman17-1/+1864
Add end-to-end debug tests
2016-07-19Run debug tests from main Makefile.Tim Newsome2-3/+15
2016-07-19Use unique filenames for block test.Tim Newsome1-6/+7
Fixes occasional failure when multiple tests are run at once.
2016-07-19Add 32-bit support.Tim Newsome1-1/+9
2016-07-19Be verbose, since output is going to a log file.Tim Newsome1-2/+2
2016-07-19Add Makefile.Tim Newsome3-19/+42
Add --isolate argument which enables the 32- and 64-bit spikes to be tested simultaneously.
2016-07-19Fix test_instant_halt.Tim Newsome1-5/+27
Only check for things that the spec guarantees when coming out of reset.
2016-07-19Fix test_block for 64-bit targets.Tim Newsome1-1/+1
2016-07-19Fix test_32 on 64-bit targets.Tim Newsome1-1/+3
2016-07-19Only run hwbp tests on targets that support them.Tim Newsome1-0/+9
2016-07-19Tell gdb what xlen is when there's no ELF file.Tim Newsome1-0/+6
This makes several spike32 tests pass that used to fail. Ideally gdb wouldn't need to be told, but that's a project for another day.
2016-07-19flush spike log after initial write.Tim Newsome1-0/+1
This makes sure the execution line is the first one in the logfile.
2016-07-19I think I've finally got malloc working right.Tim Newsome5-14/+27
Now gdb can call functions and change strings.
2016-07-19Make variables local again, now that gdb is "fixed."Tim Newsome1-6/+2
2016-07-19Add test for gdb function calls.Tim Newsome3-1/+613
2016-07-18Test step over invalid instruction.Tim Newsome2-9/+16
2016-07-18Turn off debugging.Tim Newsome1-1/+1
2016-07-18Remove hardware breakpoints so future tests work.Tim Newsome1-0/+3
2016-07-18Make DownloadTest pass on boards with little RAM.Tim Newsome1-1/+4
2016-07-18Increase TCK speed.Tim Newsome2-1/+2
2016-07-18Write command to logfile.Tim Newsome1-0/+2
2016-07-18Add test for debuginfo symbols.Tim Newsome1-0/+8
Currently fails with 32-bit tools.
2016-07-18Add explicit test for stepping over branches/jumps.Tim Newsome2-1/+46
2016-07-18Improve formatting. Add examples.Tim Newsome1-3/+26
2016-07-18Increase "load" timeout.Tim Newsome1-3/+3
2016-07-18Bump up speed.Tim Newsome1-1/+1
2016-07-18Add a few tips.Tim Newsome1-0/+12
2016-07-18Update IDCODE.Tim Newsome1-1/+1
2016-07-18Add test_hwbp_2.Tim Newsome1-1/+12
2016-07-18Add test_too_many_hwbp.Tim Newsome1-0/+7
2016-07-18Fix hwbp test.Tim Newsome1-1/+1
2016-07-18Add hwbp test (currently doesn't pass).Tim Newsome2-0/+16
2016-07-18Fix cut and paste bug in test_change_pcTim Newsome1-1/+1
2016-07-18Make tests work with broken 32-bit compiler.Tim Newsome3-11/+34
Apparently the 32-bit compiler doesn't generate good enough debug info for gdb to know what function we're in, which also means it doesn't know where the local variables in those functions are stored.
2016-07-18Add simple register tests.Tim Newsome4-42/+76
Make the RegsTest case a bit more comprehensible.
2016-07-18Add block test.Tim Newsome6-16/+74
2016-07-18Test all memory access sizes.Tim Newsome1-24/+36
2016-07-18All tests pass with spike now.Tim Newsome6-198/+72
I did comment out a couple.
2016-07-18Made some progress towards working with spike.Tim Newsome8-97/+338
I'm writing all the tests so they should just work on real hardware, too.
2016-07-18WIP on debug testing.Tim Newsome12-0/+778
./gdbserver.py --m2gl_m2s --openocd "$HOME/SiFive/openocd/src/openocd -s $HOME/SiFive/openocd/tcl" -- RegsTest.test_write_gprs doesn't fail in a completely crazy way.
2016-07-18Default to XLEN=64 when building in-placeAndrew Waterman2-0/+4
2016-07-12Add a "--with-xlen" configure argument (#16)Palmer Dabbelt6-6/+34
The tools had riscv64-unknown-elf-gcc hard-coded all over the place. This lets users override that if they have a 32-bit toolchain.