Skip to content

System call and exception regression tests#379

Merged
jj16791 merged 20 commits intodevfrom
syscall-reg-tests
Feb 20, 2024
Merged

System call and exception regression tests#379
jj16791 merged 20 commits intodevfrom
syscall-reg-tests

Conversation

@jj16791
Copy link
Copy Markdown
Contributor

@jj16791 jj16791 commented Feb 2, 2024

Within this PR, updates and additions to the Syscall and Exception test suites in both AArch64 and RISCV have been implemented to improve the test coverage of supported system calls and instruction exceptions.

Tests still required:

  • [ ] PipelineFlush exception instances in RISCV namespace
  • [ ] Illegal Instruction exception instances in RISCV namespace
  • Validate fix for non-absolute paths and edit docs to remove the restriction of having to use an absolute binary path

@jj16791 jj16791 added tests Testing and CI 0.9.6 Part of SimEng Release 0.9.6 labels Feb 2, 2024
@jj16791 jj16791 self-assigned this Feb 2, 2024
Comment thread test/regression/riscv/Exception.cc
Comment thread test/regression/aarch64/Exception.cc
Copy link
Copy Markdown
Contributor

@ABenC377 ABenC377 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comment comments. Otherwise looks good.

Comment thread src/lib/kernel/LinuxProcess.cc Outdated
Comment thread test/regression/aarch64/Exception.cc Outdated
Comment thread test/regression/aarch64/Exception.cc Outdated
Comment thread test/regression/riscv/Exception.cc Outdated
Copy link
Copy Markdown
Contributor

@JosephMoore25 JosephMoore25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good. One overlapping fix with Instruction Class update PR to resolve before approval

Comment thread test/regression/aarch64/AArch64RegressionTest.hh
FinnWilkinson
FinnWilkinson previously approved these changes Feb 16, 2024
Comment thread src/lib/arch/riscv/ExceptionHandler.cc
Comment thread src/lib/kernel/LinuxProcess.cc
Comment thread test/regression/aarch64/Exception.cc Outdated
ABenC377
ABenC377 previously approved these changes Feb 19, 2024
Comment thread test/regression/riscv/Syscall.cc Outdated
Comment thread test/regression/aarch64/Syscall.cc Outdated
dANW34V3R
dANW34V3R previously approved these changes Feb 19, 2024
FinnWilkinson
FinnWilkinson previously approved these changes Feb 19, 2024
JosephMoore25
JosephMoore25 previously approved these changes Feb 19, 2024
ABenC377
ABenC377 previously approved these changes Feb 19, 2024
@jj16791 jj16791 merged commit b772a62 into dev Feb 20, 2024
@jj16791 jj16791 deleted the syscall-reg-tests branch February 21, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.9.6 Part of SimEng Release 0.9.6 tests Testing and CI

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Ensure all Syscalls have regression tests glibc programs crash if executable path is not absolute

5 participants