summaryrefslogtreecommitdiffstats
path: root/tests/cris
Commit message (Collapse)AuthorAgeFilesLines
* tests: mv tests/* -> tests/tcgAnthony Liguori2012-01-12106-7170/+0Star
| | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* fix spelling in tests sub directoryDong Xu Wang2011-12-022-3/+3
| | | | | Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
* tests/cris: Fix some errors and potential crashesStefan Weil2011-04-034-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | These errors were reported by cppcheck: tests/cris/check_openpf1.c:30: error: Mismatching allocation and deallocation: f tests/cris/check_openpf2.c:13: error: Mismatching allocation and deallocation: f tests/cris/check_stat3.c:16: error: Buffer overrun possible for long cmd-line args tests/cris/check_stat4.c:18: error: Buffer overrun possible for long cmd-line args The first two are obvious coding errors (fopen needs fclose, not close). The last two may seem less important (nobody will start test code with an argument of more than 1022 characters which raises a buffer overrun). Fixing them nevertheless helps with static code checks like those done by cppcheck. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* Delete useless 'extern' qualifiers for functionsBlue Swirl2011-01-231-2/+2
| | | | | | | 'extern' qualifier is useless for function declarations. Delete them. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Replace 'extern inline' with 'static inline'Blue Swirl2011-01-179-26/+39
| | | | | Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Remove wrong semicolon in macro definitionStefan Weil2010-09-141-1/+1
| | | | | | | | | Macros normally should not end with a semicolon, otherwise their usage results in two statements where only one statement was expected. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* cris: Correct settls1 testcase.Edgar E. Iglesias2010-07-291-2/+8
| | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* cris: Correct ADDO and ADDOQ testcases.Edgar E. Iglesias2010-07-292-3/+3
| | | | | | Verified on real HW. Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
* CRIS: Implement set_thread_area for CRIS.edgar_igl2009-01-072-1/+40
| | | | | | | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6210 c046a42c-6fe2-441c-8c8c-71466251a162
* Add missing newline at the end of fileblueswir12008-12-141-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6020 c046a42c-6fe2-441c-8c8c-71466251a162
* Remove unnecessary trailing newlinesblueswir12008-12-137-7/+0Star
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6000 c046a42c-6fe2-441c-8c8c-71466251a162
* Make the tests run when built with experimental gcc-cris 4.4. Prettify the logs.edgar_igl2008-06-063-10/+13
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4682 c046a42c-6fe2-441c-8c8c-71466251a162
* Add a testcase for broken x arithmetic sequences.edgar_igl2008-06-061-0/+26
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4681 c046a42c-6fe2-441c-8c8c-71466251a162
* Increase the odds for the movei test to pass in system simulation.edgar_igl2008-06-061-0/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4680 c046a42c-6fe2-441c-8c8c-71466251a162
* Avoid warnings.edgar_igl2008-06-062-1/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
* CRIS: Make CCS related tests pass in system simulation by masking off flags ↵edgar_igl2008-05-022-0/+3
| | | | | | not related to the tests. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4298 c046a42c-6fe2-441c-8c8c-71466251a162
* CRIS: Correct typo in test for moverm.edgar_igl2008-05-021-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4297 c046a42c-6fe2-441c-8c8c-71466251a162
* Add test-case for btst CCS flags updates.edgar_igl2008-03-011-0/+8
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4005 c046a42c-6fe2-441c-8c8c-71466251a162
* Add small testcase for ordinary signals.edgar_igl2008-02-282-0/+27
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3998 c046a42c-6fe2-441c-8c8c-71466251a162
* Add testcase for CRIS ftag/fidx cache flushing insns.edgar_igl2008-02-252-0/+34
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3991 c046a42c-6fe2-441c-8c8c-71466251a162
* CRIS testsuite, based on the SIM testsuite, by Edgar E. Iglesias.ths2007-10-08103-0/+7014
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3365 c046a42c-6fe2-441c-8c8c-71466251a162