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

tests: migrate unit tests to Rust #9

Merged
merged 3 commits into from
Nov 22, 2023
Merged

Commits on Nov 21, 2023

  1. README: update CI status URL, badge, test program

    Update URLs to CI status, badge, update programming language of
    test programs.
    dongsupark committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    78a7f54 View commit details
    Browse the repository at this point in the history
  2. .travis.yml: delete travis config

    Travis CI is not used any more. Delete.
    dongsupark committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    f4e31f7 View commit details
    Browse the repository at this point in the history
  3. tests: migrate unit tests to Rust

    To avoid issues like python2 not available on distros, we should simply
    migrate unit tests to Rust. That would make more sense, as the main code
    is already written in Rust.
    
    Adding edition in Cargo.toml.
    Without edition = 2021, build fails due to a missing "extern crate ...".
    Specifying an edition, Build passes without having to add it.
    
    As Rust does not support global variables by default, it is necessary to
    make use of lazy_static, so the variables could be accessed in multiple
    tests.
    dongsupark committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    fe5500d View commit details
    Browse the repository at this point in the history