~aleteoryx/muditaos

ref: e35fca8524dfe78c3076073d20bedad897e876a7 muditaos/test/filesystem.cpp -rw-r--r-- 452 bytes
e35fca85 — Lefucjusz [MOS-1064] Fix no input language selected for French/Spanish 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include <iosyscalls.hpp>

auto constexpr TESTS_SYSROOT = "test-sysroot";
auto constexpr IMAGE_NAME    = "Test.img";

void __attribute__((constructor)) setup_sysroot()
{
    iosyscalls_set_sysroot(TESTS_SYSROOT);
}

void __attribute__((constructor)) setup_disk_image()
{
    iosyscalls_set_image_name(IMAGE_NAME);
}