18 lines
551 B
Lua
18 lines
551 B
Lua
-- vim:set ft=lua:
|
|
|
|
-- Starts the test program and all applications from the required modules list
|
|
-- independently without creating any communication channels.
|
|
|
|
local t = require("rom/test_env")
|
|
local L4 = require("L4");
|
|
|
|
for k,v in ipairs(t.REQUIRED_MODULES) do
|
|
L4.default_loader:start({}, "rom/" .. v);
|
|
end
|
|
|
|
|
|
-- The pfc cap is passed in to allow the test to reboot the machine once it
|
|
-- finishes. Rebooting only happens if the test arguments contain the -b switch.
|
|
L4.default_loader:start({ caps = {pfc = L4.Env.icu} }, "rom/" .. t.TEST_PROG);
|
|
|