Skip to content

Add test case for #1323#1325

Open
trdthg wants to merge 1 commit intorems-project:sail2from
trdthg:1323
Open

Add test case for #1323#1325
trdthg wants to merge 1 commit intorems-project:sail2from
trdthg:1323

Conversation

@trdthg
Copy link
Copy Markdown
Contributor

@trdthg trdthg commented May 29, 2025

add testcase for #1323

I added two same test files, one is placed in the typecheck directory and the other in the c directory

type regidx_range('n) = 'n <= 1 & 'n >= 0

newtype regidx('n), regidx_range('n) = Regidx : int('n)

type s_regidx = { 'n, regidx_range('n) . regidx('n) }

mapping int_string : int <-> string = {
  0 <-> "0",
  1 <-> "1",
}

mapping encdec_reg : s_regidx <-> string = { 
  Regidx(r) <-> int_string(r),
}

@Alasdair you can see only the one in c folder failed

image

@trdthg trdthg changed the title add test case Add test case for #1323 May 29, 2025
@github-actions
Copy link
Copy Markdown

Test Results

   13 files     28 suites   0s ⏱️
  879 tests   878 ✅ 0 💤 0 ❌  1 🔥
4 078 runs  4 064 ✅ 0 💤 0 ❌ 14 🔥

For more details on these errors, see this check.

Results for commit 85aff95.

TinyuengKwan pushed a commit to TinyuengKwan/sail that referenced this pull request Dec 31, 2025
We have a lot of cache thrashing happening right now
(https://github.com/riscv/sail-riscv/actions/caches) because each branch
saves its own cache. There is no resaon to save caches from merge queue
branches that will only ever run CI once.
TinyuengKwan pushed a commit to TinyuengKwan/sail that referenced this pull request Dec 31, 2025
Even after rems-project#1325, we are still overflowing the GitHub cache limit. Try
only saving caches on the master branch, which PR and merge queue runs
can still restore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant