Skip to content

LeafScript/LeafPython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeafPython

Getting Started

Git clone this repository

git clone git@github.com:LeafScript/LeafPython.git
cd LeafPython
git submodule update --init --recursive

Build & Run Project

cd build
source completion.sh
./leafpy_test.sh -h
# example:
# ./leafpy_test.sh build -t demo -c file_mode
# ./leafpy_test.sh run -t demo -c file_mode

Run Tests

Use C++ TestMate extension to run tests

  1. First, install the C++ TestMate extension.
  2. append the following code to your settings.json file:
{
    "testMate.cpp.test.advancedExecutables": [
        {
            "name": "lib_test",
            "pattern": "test/**/lib_test/**/*{test,Test,TEST}*",
        },
        {
            "name": "testcore_test",
            "pattern": "test/**/testcore_test/**/*{test,Test,TEST}*",
        },
        {
            "name": "leafpy_test",
            "pattern": "test/**/leafpy_test/**/*{test,Test,TEST}*",
        },
    ]
}

Or use leafpy_test.sh to run tests

  1. enter build directory
  2. run command:
./leafpy_test.sh build -t <llt/hlt/benchmark> -c <case>

where <test_dir_name> is one of the following: lib_test, core_test/testcore_test, core_test/leafpy_test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.7%
  • Shell 3.1%
  • CMake 0.2%