mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
fix gtest err on nano
This commit is contained in:
parent
7f89b1a481
commit
87d66c758b
@ -1,5 +1,4 @@
|
||||
from PikaObj import *
|
||||
import builtins
|
||||
|
||||
class MemChecker:
|
||||
def max(self): ...
|
||||
|
@ -1,8 +1,5 @@
|
||||
bash make.sh
|
||||
|
||||
ROOT=$PWD
|
||||
rm $(find build -name *.gcda) -f
|
||||
cd build && rm ./test/pikascript_test -f && ninja -j0
|
||||
cd $ROOT
|
||||
if [ $# == 0 ] ; then
|
||||
build/test/pikascript_test
|
||||
fi
|
||||
|
@ -1,4 +1,3 @@
|
||||
sh init.sh
|
||||
cp config/pika_config_syntax_level_minimal.h config/pika_config.h && sh _gtest_once.sh && \
|
||||
cp config/pika_config_optimize_speed.h config/pika_config.h && sh _gtest_once.sh && \
|
||||
cp config/pika_config_pool.h config/pika_config.h && sh _gtest_once.sh && \
|
||||
|
@ -1,5 +1,4 @@
|
||||
from PikaObj import *
|
||||
import builtins
|
||||
|
||||
class MemChecker:
|
||||
def max(self): ...
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
sh only_make.sh
|
||||
sh make.sh
|
||||
|
||||
# 初始化参数变量
|
||||
tool_option=""
|
||||
|
@ -743,7 +743,6 @@ PikaObj* newRootObj(char* name, NewFun newObjFun) {
|
||||
signal(SIGSEGV, signal_handler); // 捕获 SIGHUP 信号
|
||||
signal(SIGABRT, signal_handler);
|
||||
signal(SIGQUIT, signal_handler);
|
||||
signal(SIGKILL, signal_handler);
|
||||
signal(SIGTRAP, signal_handler);
|
||||
signal(SIGHUP, signal_handler);
|
||||
enable_raw_mode();
|
||||
|
Loading…
x
Reference in New Issue
Block a user