Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TESTING] Test cases overview #91

Open
23 of 66 tasks
Risto97 opened this issue Oct 8, 2024 · 0 comments
Open
23 of 66 tasks

[TESTING] Test cases overview #91

Risto97 opened this issue Oct 8, 2024 · 0 comments
Labels
CI enhancement New feature or request
Milestone

Comments

@Risto97
Copy link
Contributor

Risto97 commented Oct 8, 2024

A test needs to be implemented for every functionality of SoCMake.
The status of the tests can be seen on CDash.

SoCMake test plan:

SoCMake core

  • add_ip()

    • full VLNV
    • short VLNV
    • description
    • wrong VLNV format, expect fail
  • ip_include_directories() and get_ip_include_directories()

    • one language
    • multiple languages
    • linking
  • ip_compile_definitions() and get_ip_compile_definitions()

    • one language
    • multiple languages
    • linking
  • alias_dereference()

    • dereference ip
    • dereference ip from subdirectory
  • check_languages()

    • check standard languages
    • check an additional language
    • check warning message on unsupported
    • check fatal message on unsupported
  • ip_sources() and get_ip_sources()

    • one language
    • multiple languages
    • unsupported language warning
    • linking
  • ip_link() and get_ip_links()

    • simple linking
    • self-linking fatal error
    • ip_link on ip from different subdirectory

Simulators

  • iverilog()
    • simple test
    • include directories
    • compile definitions
    • linked ips
    • TOP_MODULE argument
    • OUTDIR argument
    • EXECUTABLE argument
    • CLI_FLAGS argument

PeakRDL

  • peakrdl_regblock()

    • custom python executable
    • simple call, no arguments
    • OUTDIR argument
    • RENAME argument
    • INTF argument
    • RESET argument
    • ARGS additional CLI flags
    • linked ips
  • peakrdl_html()

    • custom python executable
    • simple call, no arguments
    • include directories
    • compile definitions
    • OUTDIR argument
    • SERVER_TARGET test the target
    • INTF argument
    • ARGS additional CLI flags
    • linked ips
  • peakrdl_dump()

    • custom python executable
    • simple call, no arguments
    • include directories
    • compile definitions
    • OUTDIR argument
    • ARGS additional CLI flags
    • linked ips
@Risto97 Risto97 added this to the 1.0.0 milestone Oct 8, 2024
@Risto97 Risto97 added enhancement New feature or request CI labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant