Skip to content

Hugu1e/ChameLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChameLib

test

Dependency

PBC library

openssl

Quick start

  1. Clone the Repository

    git clone https://github.com/hyj666-maker/ChameLib.git
    cd ChameLib
    
  2. Build

    mkdir build
    cd build
    cmake ..
    make
    

Testing

  1. Run base tests

    cd build
    ctest -L "basetest"
    

    Run individual base test

    cd build
    ./bin/[BASETEST_NAME]
    
  2. Run benchmark tests

    cd build
    ctest -L "benchmarktest"
    

    Run individual benchmark test

    cd build
    ./bin/[BENCHMARKTEST_NAME]
    

    Command-Line Arguments

    The test programs support the following command-line arguments:

    • --repeat or -r: Set the number of repetitions for the test (default: 100). Example:

      ./bin/[BENCHMARKTEST_NAME] --repeat 200
      

      or

      ./bin/[BENCHMARKTEST_NAME] -r 200
      
    • --checktime or -c: Enable time checking to verify runtime consistency (default: disabled). Example:

      ./bin/[BENCHMARKTEST_NAME] --checktime
      

      or

      ./bin/[BENCHMARKTEST_NAME] -c
      
    • --help or -h: Display help information about the available arguments. Example:

      ./bin/[BENCHMARKTEST_NAME] --help
      

      or

      ./bin/[BENCHMARKTEST_NAME] -h
      

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages