diff --git a/src/tests/servers/app/Jamfile b/src/tests/servers/app/Jamfile index bc8aa94be1..9a4a750943 100644 --- a/src/tests/servers/app/Jamfile +++ b/src/tests/servers/app/Jamfile @@ -167,6 +167,7 @@ SubInclude HAIKU_TOP src tests servers app cursor_test ; SubInclude HAIKU_TOP src tests servers app desktop_window ; SubInclude HAIKU_TOP src tests servers app event_mask ; SubInclude HAIKU_TOP src tests servers app following ; +SubInclude HAIKU_TOP src tests servers app idle_test ; SubInclude HAIKU_TOP src tests servers app look_and_feel ; SubInclude HAIKU_TOP src tests servers app menu_crash ; SubInclude HAIKU_TOP src tests servers app no_pointer_history ; diff --git a/src/tests/servers/app/idle_test/Jamfile b/src/tests/servers/app/idle_test/Jamfile new file mode 100644 index 0000000000..2a6d39ba16 --- /dev/null +++ b/src/tests/servers/app/idle_test/Jamfile @@ -0,0 +1,6 @@ +SubDir HAIKU_TOP src tests servers app idle_test ; + +SimpleTest idle_test : + test.cpp + : be ; + diff --git a/src/tests/servers/app/idle_test/test.cpp b/src/tests/servers/app/idle_test/test.cpp new file mode 100644 index 0000000000..5cd627c307 --- /dev/null +++ b/src/tests/servers/app/idle_test/test.cpp @@ -0,0 +1,10 @@ +#include +#include +#include + +int main() +{ + BApplication app("application/x-vnd.idle-test"); + printf("idle_time() : %Ld\n", idle_time()); +} +