openrisc / or1k-tests

Unified OpenRISC 1000 test suite
8 stars 11 forks source link

Fixup build for new toolchain, add a test runner #3

Closed stffrdhrn closed 5 years ago

stffrdhrn commented 5 years ago

The new toolchain requires to be told to not include the newlib startup runtime for .S files. This this by default.

Also, I created a test runner which loads up mor1kx-generic in fusesoc and runs all of the tests. Current output:

Running or1k-alignillegalinsn                               TIME OUT
Running or1k-backtoback_jmp                                 PASS
Running or1k-basic                                          PASS
Running or1k-cmov                                           PASS
Running or1k-cy                                             FAIL
Running or1k-dsx                                            PASS
Running or1k-dsxinsn                                        PASS
Running or1k-ext                                            FAIL
Running or1k-ffl1                                           PASS
Running or1k-icache                                         PASS
Running or1k-illegalinsn                                    PASS
Running or1k-illegalinsndelayslot                           PASS
Running or1k-insnfetchalign                                 PASS
Running or1k-insnfetcherror                                 PASS
Running or1k-intloop                                        TIME OUT
Running or1k-intmulticycle                                  TIME OUT
Running or1k-intsyscall                                     TIME OUT
Running or1k-inttickloop                                    TIME OUT
Running or1k-jmp                                            PASS
Running or1k-jr                                             PASS
Running or1k-lsu                                            PASS
Running or1k-lsualign                                       PASS
Running or1k-lsualigndelayslot                              PASS
Running or1k-lsuerror                                       PASS
Running or1k-lsuerrordelayslot                              PASS
Running or1k-lwjr                                           PASS
Running or1k-msync                                          PASS
Running or1k-mul-basic                                      FAIL
Running or1k-ov                                             PASS
Running or1k-regjmp                                         PASS
Running or1k-rfe                                            PASS
Running or1k-sf                                             PASS
Running or1k-sfbf                                           PASS
Running or1k-shiftopts                                      PASS
Running or1k-shortbranch                                    PASS
Running or1k-shortjump                                      PASS
Running or1k-systemcall                                     PASS
Running or1k-tickloop                                       PASS
Running or1k-tickrfforward                                  TIME OUT
Running or1k-ticksyscall                                    PASS
Running or1k-timer                                          PASS
Running or1k-trap                                           PASS
Running or1k-trapdelayslot                                  PASS
Results                                                     Total:  43 FAIL:   9
olofk commented 5 years ago

This looks great. Thankf for working on it. Feel free to merge, or let me know if you don't have commit access

stffrdhrn commented 5 years ago

Merged

juliusbaxter commented 5 years ago

Love it, great work Stafford!

On Fri, Jan 4, 2019, 6:23 AM Stafford Horne <notifications@github.com wrote:

Merged

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openrisc/or1k-tests/pull/3#issuecomment-451265910, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNncokne5suE_GcREhH9zMYVQ2o9Z1xks5u_mbCgaJpZM4Zkfim .