Dear Martin and Antti, Thank you for your kind help. I misunderstood that programs in test directory were something like sample. Your suggested way works successfully.
Best Regards, Takumi 2015-05-05 18:34 GMT+09:00 Antti Kantee <[email protected]>: > On 05/05/15 09:16, Takumi Shimada wrote: > >> Hi all, >> > > Greetings, Takumi! > > === calling "rumprun-xen" main() === >> >> rumprun: rumprun_test: unable to open data device: No such file or >> directory >> > > This is a result of the tests being built by default to run in the > automated tester. The automated tester lib expects that you supply a block > device to the guest (-b argument to rumprun) to which stdout/stderr is > redirected. > > If you want to run the tests manually, it's better to compile them for > interactive mode: > > pooka@watou:~/rumpkernel/rumprun/tests$ rumprun-xen-make clean > [...] > pooka@watou:~/rumpkernel/rumprun/tests$ rumprun-xen-make RUMPRUN_TEST=no > [...] > home/pooka/rumpkernel/rumprun/app-tools/rumprun-xen-cc -Wall -Werror > -Wmissing-prototypes -Wstrict-prototypes -g -DRUMPRUN_TESTER_JUSTMAIN > hello.c -o hello > > If you see -DRUMPRUN_TESTER_JUSTMAIN, you know you are compiling for > "interactive mode". > > I am not quite happy with the current usability, but I haven't managed to > invent any better way to accomplish automated testing without a console. > > === ERROR: _exit(1) called === >> assertion "rumprun_done > 0" failed: file >> "/home/garasubo/workspace/rumprun/lib/librumprun_base/rumprun.c", line >> 193, >> function "rumprun_wait" >> rumprun: call to ``_sys___sigprocmask14'' ignored >> _lwpabort() called >> >> === ERROR: _exit(1) called === >> panic: releasing non-pertinent lwp >> rump kernel halting... >> halted >> PANIC: rumpuser panic >> minios: halting, reason=0 >> > > This is a "harmless" error that occurs if something calls exit(). I am > aware of it, and will fix it soon. > > Hope this helps, > antti > >
