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
Notes: sideshowbarker 2024-07-19 07:58:55 +09:00
2 changed files with 2 additions and 1 deletions

View file

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

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

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