Update run_test.sh

up
This commit is contained in:
blueloveTH 2023-03-17 02:18:25 +08:00
parent 152cfaac3e
commit c39fa047fe
2 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<a title="Pub" href="https://pub.dev/packages/pocketpy" ><img src="https://img.shields.io/pub/v/pocketpy" /></a> <a title="Pub" href="https://pub.dev/packages/pocketpy" ><img src="https://img.shields.io/pub/v/pocketpy" /></a>
</p> </p>
PocketPy is a lightweight(~5000 LOC) Python interpreter for game engines. PocketPy is a lightweight(~6000 LOC) Python interpreter for game engines.
**English |** [**简体中文**](README_zh.md) **English |** [**简体中文**](README_zh.md)

6
run_test.sh Normal file
View File

@ -0,0 +1,6 @@
clang++ -std=c++17 -fno-rtti --coverage -Wall -o pocketpy src/main.cpp
python3 scripts/run_tests.py
llvm-cov-15 gcov main.gc -r -s src/
rm -rf .coverage
mkdir -p .coverage
mv *.gcov .coverage