xref: /haiku/src/tests/servers/app/NOTES (revision 21258e2674226d6aa732321b6f8494841895af5f)
1For the test_app_server to run properly on Haiku, you need to prepare a few things.
2
3There is a pseudo target "install-test-apps" which needs to be built like this:
4
5$ TARGET_PLATFORM=libbe_test jam install-test-apps
6
7This will build "test_registrar", "test_app_server",
8the needed libs and some test apps and install everything into "generated/tests/libbe_test/(your architecture)/apps".
9
10You can use the "run.sh" script installed in the "generated/tests/libbe_test/(your architecture)/apps" folder to run the servers,
11as well as open the test app folder in Tracker (via the -o option),
12or launch specific test app(s) by specifying their name in the command line,
13for example "run WindowInvalidation".
14
15NOTE: it is currently necessary to prefix the starting of test_app_server with
16	LD_PRELOAD="lib/libbe_test.so"
17This is a bug that should be fixed (go for it :-),
18but supplying the library manually is a workaround for using test_app_server for now.
19
20Have fun!
21