fix gtest err on nano

This commit is contained in:
lyon 2023-05-22 03:07:09 +08:00
parent 7f89b1a481
commit 87d66c758b
6 changed files with 2 additions and 9 deletions

View File

@ -1,5 +1,4 @@
from PikaObj import *
import builtins
class MemChecker:
def max(self): ...

View File

@ -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

View File

@ -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 && \

View File

@ -1,5 +1,4 @@
from PikaObj import *
import builtins
class MemChecker:
def max(self): ...

View File

@ -1,5 +1,5 @@
#!/bin/sh
sh only_make.sh
sh make.sh
# 初始化参数变量
tool_option=""

View File

@ -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();