blob: 4c3ad2266f2076d4148d7cfde94a746d387ab83b [file] [log] [blame]
// Copyright 2023 Google LLC
// Copyright lowRISC contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
{
name: "self-contained-tests"
testpoints: [
{
name: flash_ctrl
desc: '''This test checks for correct sanity behavior of the flash.
It ensures the flash controller is able to program, read, and page erase fixed locations in multiple flash banks.
It also performs a sanity region protection check to make sure a protected page cannot be modified.
When the test passes, it will output "PASS!".'''
stage: V1
tests: ["flash_test"]
}
{
name: hmac
desc: '''This test checks for basic functionality of the sha256 engine inside HMAC.
It computes the hash of a known input and compares it against the known digest.
When the test passes, it will output "PASS!".'''
stage: V1
tests: ["sha256_test"]
}
{
name: rv_timer
desc: '''This test checks for basic timer and interrupt functionality.
The test rests in a loop and does not break out until the interrupt handling routine sets a specific value.
If the interrupt handling is incorrect, the test will never complete.
When the test passes, it will output "PASS!".'''
stage: V1
tests: ["rv_timer_test"]
}
]
}