Skip to content

refactor: simplify tests to hello-only, move functional tests to nanvix-python#215

Merged
ppenna merged 1 commit intonanvix/v3.12.3from
refactor/simplify-cpython-tests
Feb 26, 2026
Merged

refactor: simplify tests to hello-only, move functional tests to nanvix-python#215
ppenna merged 1 commit intonanvix/v3.12.3from
refactor/simplify-cpython-tests

Conversation

@ppenna
Copy link

@ppenna ppenna commented Feb 26, 2026

Summary

Simplify the cpython test infrastructure by keeping only the "hello" test and moving comprehensive functional testing to the new nanvix/nanvix-python repository.

Changes

Makefile.nanvix

  • Keep only the hello world test (removed arithmetic and platform tests)

z script

  • Removed install_site_packages, run_smoke_test, run_functional_tests, verify_tests_present functions
  • Simplified cmd_test() to only run nanvix_make test
  • Removed unused variables (RUN_BASIC_TESTS, TEST_START, TEST_END)
  • Updated cleanup to no longer preserve .nanvix/tests

Removed files

  • .nanvix/tests/smoke_test_l2.py
  • .nanvix/tests/func/test_*.py (99 functional tests)

New repository

The comprehensive functional testing now lives at nanvix/nanvix-python, which:

  • Is triggered via repository_dispatch (event_type: cpython-release) from this repo's release job
  • Downloads Nanvix runtime + CPython release artifacts
  • Installs pip packages and runs smoke + 99 functional tests
  • Tests across the same 4 platform/process-mode matrix

…ix-python

Simplify the cpython test infrastructure:
- Makefile.nanvix: keep only the hello world test
- z script: remove install_site_packages, run_smoke_test,
  run_functional_tests, verify_tests_present functions
- z script: simplify cmd_test to only run nanvix_make test
- Remove .nanvix/tests/ directory (smoke + 99 functional tests)

Comprehensive functional testing (pip-installed packages) will be
handled by the new nanvix/nanvix-python repository, triggered via
repository_dispatch from this repo's release job.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ppenna ppenna merged commit ca5a982 into nanvix/v3.12.3 Feb 26, 2026
7 checks passed
@ppenna ppenna deleted the refactor/simplify-cpython-tests branch February 26, 2026 06:49
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