From 2de9c7660951c65e6e5efafda65028dced71ee97 Mon Sep 17 00:00:00 2001 From: lyon Date: Sun, 14 May 2023 23:31:34 +0800 Subject: [PATCH] fix CI --- test/pikaMain-test.cpp | 2 ++ tools/pikaByteCodeGen/main.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/pikaMain-test.cpp b/test/pikaMain-test.cpp index abd5d4316..14147e581 100644 --- a/test/pikaMain-test.cpp +++ b/test/pikaMain-test.cpp @@ -3054,6 +3054,7 @@ TEST(pikaMain, _obj_set_str_null) { EXPECT_EQ(pikaMemNow(), 0); } +#if !PIKA_NANO_ENABLE TEST(pikaMain, shell_nolib_print_help) { char lines[] = {"help(\"modules\")\n"}; /* init */ @@ -3069,5 +3070,6 @@ TEST(pikaMain, shell_nolib_print_help) { obj_deinit(pikaMain); EXPECT_EQ(pikaMemNow(), 0); } +#endif TEST_END \ No newline at end of file diff --git a/tools/pikaByteCodeGen/main.c b/tools/pikaByteCodeGen/main.c index 66574b791..8b5164472 100644 --- a/tools/pikaByteCodeGen/main.c +++ b/tools/pikaByteCodeGen/main.c @@ -40,6 +40,8 @@ int strGetSizeUtf8(char* str){return 0;} void PikaStdData_Tuple___init__(PikaObj *self){} void PikaStdData_List___init__(PikaObj *self){} void PikaStdData_List_append(PikaObj *self, Arg* arg){} +void PikaStdData_Dict___init__(PikaObj* self){} +void PikaStdData_Dict_set(PikaObj* self, char* key, Arg* val){} char* string_slice(Args* outBuffs, char* str, int start, int end) { return NULL; }