diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2018-12-18 16:50:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 16:50:29 -0800 |
commit | 885456b7fd17ede49f91614428a231832ae8310c (patch) | |
tree | ffc08bb397d60a661bd0951b9551b4ce4cb10091 | |
parent | ec94c67ade19af2a1d2b34d87f7537303af4e4b8 (diff) | |
parent | d1e6cdfcbd6aac947989e56eb530a7fe744cafdc (diff) |
Merge pull request #124 from sifive/revert-121-rtl-regression
Revert "Add a very simple regression script"
-rwxr-xr-x | scripts/coreip-rtl-regression.bash | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/scripts/coreip-rtl-regression.bash b/scripts/coreip-rtl-regression.bash deleted file mode 100755 index 2c313dd..0000000 --- a/scripts/coreip-rtl-regression.bash +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -set -e -set -o pipefail -set -x - -boards=() -boards+=("coreip-e31") -boards+=("coreip-s51") - -programs=() -programs+=("hello") - -for board in "${boards[@]}" -do - # This avoids a multidimmensional associtave array, which bash doesn't - # appear to enjoy. - releases=() - case "$board" - in - "coreip-e31") releases=("sifive_coreip_E31_AHB_rtl_full_v3p0_rc1") ;; - "coreip-s51") releases=("sifive_coreip_E51_TL_rtl_full_v3p0_rc0") ;; - *) echo "$0: unknown board $board"; exit 1;; - esac - - for release in "${releases}" - do - coreip_wdir="$(echo "$release" | cut -d_ -f1-6)" - coreip_tdir="$(echo "$release" | cut -d_ -f1-7)" - coreip_tar="/work/coreplex/${coreip_wdir}/${release}/${coreip_tdir}.tar.gz" - - for program in "${programs[@]}" - do - make BSP=mee BOARD="${board}" PROGRAM="${program}" clean - make BSP=mee BOARD="${board}" PROGRAM="${program}" software - rm -rf "${coreip_dir}" - tar -xvzpf "${coreip_tar}" - mkdir -p "${coreip_tdir}"/tests/"${program}" - cp software/"${program}"/"${program}".hex "${coreip_tdir}"/tests/"${program}"/program.hex - make -C "${coreip_tdir}" "${program}".out - done - done -done |