Philipp Wagner | 03aaf32 | 2020-09-09 19:11:44 +0100 | [diff] [blame] | 1 | # Copyright lowRISC contributors. |
| 2 | # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 5 | # List of self-checking test applications, which return PASS or FAIL after |
| 6 | # completion. |
| 7 | # |
| 8 | # Each list entry is a dict with the following keys: |
| 9 | # |
| 10 | # name: |
| 11 | # Name of the test (required) |
| 12 | # binary_name: |
| 13 | # Basename of the test binary. Default: name (optional) |
| 14 | # verilator_extra_args: |
| 15 | # A list of additional command-line arguments passed to the Verilator |
| 16 | # simulation (optional). |
| 17 | # targets: |
| 18 | # List of targets for which the test is executed. The test will be executed |
| 19 | # on all targets if not given (optional). |
Philipp Wagner | 03aaf32 | 2020-09-09 19:11:44 +0100 | [diff] [blame] | 20 | TEST_APPS_SELFCHECKING = [ |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 21 | { |
| 22 | "name": "aes_test", |
| 23 | }, |
| 24 | { |
| 25 | "name": "crt_test", |
| 26 | }, |
| 27 | { |
Philipp Wagner | 8654b02 | 2020-11-17 19:06:36 +0000 | [diff] [blame] | 28 | "name": "dif_otbn_smoketest_rtl", |
| 29 | "binary_name": "dif_otbn_smoketest", |
Philipp Wagner | 07aab34 | 2020-11-06 14:26:09 +0000 | [diff] [blame] | 30 | "verilator_extra_args": ['+OTBN_USE_MODEL=0'], |
| 31 | }, |
Philipp Wagner | ce69b68 | 2020-11-06 16:35:22 +0000 | [diff] [blame] | 32 | # Using the model in CI isn't possible until #4097 is resolved. |
| 33 | # { |
Philipp Wagner | 8654b02 | 2020-11-17 19:06:36 +0000 | [diff] [blame] | 34 | # "name": "dif_otbn_smoketest_model", |
| 35 | # "binary_name": "dif_otbn_smoketest", |
Philipp Wagner | ce69b68 | 2020-11-06 16:35:22 +0000 | [diff] [blame] | 36 | # "verilator_extra_args": ['+OTBN_USE_MODEL=1'], |
| 37 | # "targets": ["sim_verilator"], |
| 38 | # }, |
Philipp Wagner | 07aab34 | 2020-11-06 14:26:09 +0000 | [diff] [blame] | 39 | { |
Miguel Young de la Sota | 8a4cf45 | 2020-11-04 09:57:10 -0500 | [diff] [blame] | 40 | "name": "dif_otp_ctrl_smoketest", |
| 41 | }, |
| 42 | { |
Sam Elliott | f845618 | 2020-11-19 12:21:30 +0000 | [diff] [blame^] | 43 | "name": "dif_plic_smoketest", |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 44 | }, |
| 45 | { |
Sam Elliott | f845618 | 2020-11-19 12:21:30 +0000 | [diff] [blame^] | 46 | "name": "dif_rstmgr_smoketest", |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 47 | }, |
| 48 | { |
Sam Elliott | f845618 | 2020-11-19 12:21:30 +0000 | [diff] [blame^] | 49 | "name": "dif_rv_timer_smoketest", |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 50 | }, |
| 51 | { |
Sam Elliott | f845618 | 2020-11-19 12:21:30 +0000 | [diff] [blame^] | 52 | "name": "dif_uart_smoketest", |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 53 | }, |
| 54 | { |
| 55 | "name": "flash_ctrl_test", |
| 56 | }, |
| 57 | { |
Sam Elliott | f845618 | 2020-11-19 12:21:30 +0000 | [diff] [blame^] | 58 | "name": "pmp_smoketest_napot", |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 59 | }, |
| 60 | { |
Sam Elliott | f845618 | 2020-11-19 12:21:30 +0000 | [diff] [blame^] | 61 | "name": "pmp_smoketest_tor", |
Philipp Wagner | a3adde2 | 2020-11-06 14:25:04 +0000 | [diff] [blame] | 62 | }, |
| 63 | { |
| 64 | "name": "sha256_test", |
| 65 | }, |
| 66 | { |
| 67 | "name": "usbdev_test", |
| 68 | "targets": ["sim_verilator"], |
| 69 | }, |
Philipp Wagner | 03aaf32 | 2020-09-09 19:11:44 +0100 | [diff] [blame] | 70 | ] |