Skip to content

Commit a8d00f4

Browse files
committed
Fix missing IMPORT_FSTR data building with GCC 15.2
1 parent dddc46e commit a8d00f4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

test/modules/event.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#include <JerryTest.h>
22

3+
IMPORT_FSTR_LOCAL(eventSnap, PROJECT_DIR "/out/jerryscript/event.js.snap")
4+
35
namespace
46
{
5-
IMPORT_FSTR(eventSnap, PROJECT_DIR "/out/jerryscript/event.js.snap")
67
DEFINE_FSTR(testEventName, "EVENT_TEMP")
78
HashMap<String, Vector<JS::Callable>> events;
89

test/modules/fatal.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#include <JerryTest.h>
22

3+
IMPORT_FSTR_LOCAL(fatalSnap, PROJECT_DIR "/out/jerryscript/fatal.js.snap")
4+
IMPORT_FSTR_LOCAL(fatalEsNextSnap, PROJECT_DIR "/files/fatal.es.next.js.snap")
5+
36
namespace
47
{
5-
IMPORT_FSTR(fatalSnap, PROJECT_DIR "/out/jerryscript/fatal.js.snap")
6-
IMPORT_FSTR(fatalEsNextSnap, PROJECT_DIR "/files/fatal.es.next.js.snap")
7-
88
JS_DEFINE_FUNCTION(throwTantrum, JS::Value& reason)
99
{
1010
// todo

0 commit comments

Comments
 (0)