Files
haiku-beta6/src/tests/TestsBootscript
T
Kacper Kasper 4de63671bd test-raw: Run tests and shutdown automatically
* Move running the tests to user bootscript.
* Remove SSH preconfiguration from first_login.
* Add debug_server settings.
* Disable more flaky tests.
* Fix libsupportkit_RemoteTestObject.so build.

Change-Id: I774ab4fc5a007da463cf1213d92132ad9f64fe7f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10708
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Kacper Kasper <[email protected]>
2026-04-19 07:26:48 +00:00

16 lines
318 B
Bash
Executable File

#!/bin/sh
volumeName="qemu vvfat"
/bin/mountvolume -alldos
cp -r /system/add-ons/unittests /boot/home
(cd /boot/home/unittests && UnitTester) > /"$volumeName"/test_result.txt 2>&1
sleep 5 # in case there is a crash and report has to be written
cp /boot/home/Desktop/*.report /"$volumeName"/
sync
sleep 5
shutdown