1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

AK: Remove relative path in AK testsuite

With relative filenames in the executable code, the executable is basically not
relocatable. This makes out-of-source builds unneccesery hard. This patchset moves
the relative link into the filesystem: that can be handled much easier :^)
This commit is contained in:
Emanuel Sprung 2020-04-03 00:06:24 +02:00 committed by Andreas Kling
parent 94afcb54de
commit d0d093fef5
2 changed files with 2 additions and 1 deletions

View file

@ -35,7 +35,7 @@
TEST_CASE(load_form) TEST_CASE(load_form)
{ {
FILE* fp = fopen("../../Base/home/anon/little/test.frm", "r"); FILE* fp = fopen("test.frm", "r");
ASSERT(fp); ASSERT(fp);
StringBuilder builder; StringBuilder builder;

1
AK/Tests/test.frm Symbolic link
View file

@ -0,0 +1 @@
../../Base/home/anon/little/test.frm