1SubDir HAIKU_TOP src tests servers registrar ; 2 3UsePublicHeaders [ FDirName add-ons registrar ] ; 4UseArchHeaders $(TARGET_KERNEL_ARCH_DIR) ; 5 6# some test programs 7 8SimpleTest RegistrarTest1 9 : RegistrarTest1.cpp 10 : be [ TargetLibsupc++ ] 11; 12 13SimpleTest RosterShell 14 : RosterShell.cpp 15 : be [ TargetLibstdc++ ] 16; 17 18SimpleTest message_deliverer_test : message_deliverer_test.cpp : be ; 19 20 21# libbe_test related stuff 22 23SetSubDirSupportedPlatforms libbe_test ; 24 25SimpleTest run_test_registrar 26 : run_test_registrar.cpp 27 : be 28; 29 30# a shutdown working with the emulation under R5 31UsePrivateHeaders app ; 32UsePrivateHeaders kernel ; 33 34SimpleTest <test>shutdown 35 : shutdown.cpp 36 : be ; 37 38SEARCH on [ FGristFiles shutdown.cpp ] = [ FDirName $(HAIKU_TOP) src bin ] ; 39 40# Two small test apps for testing the shutdown process. 41 42SimpleTest no_shutdown_reply 43 : no_shutdown_reply.cpp 44 : be 45; 46 47SimpleTest negative_shutdown_reply 48 : negative_shutdown_reply.cpp 49 : be 50; 51 52SimpleTest user_shutdown_reply 53 : user_shutdown_reply.cpp 54 : be 55; 56 57 58# the registrar itself 59 60UsePrivateHeaders app ; 61UsePrivateHeaders shared ; 62UsePrivateHeaders storage ; 63UsePrivateHeaders tracker ; 64UsePrivateSystemHeaders ; 65 66SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src servers registrar ] ; 67SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src servers registrar mime ] ; 68SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits storage mime ] ; 69 70Server test_registrar 71 : 72 AppInfoList.cpp 73 AppInfoListMessagingTargetSet.cpp 74 Clipboard.cpp 75 ClipboardHandler.cpp 76 Event.cpp 77 EventMaskWatcher.cpp 78 EventQueue.cpp 79 FakeAuthenticationManager.cpp 80 MessageDeliverer.cpp 81 MessageEvent.cpp 82 MessageHandler.cpp 83 MessageRunnerManager.cpp 84 MessagingService.cpp 85 MIMEManager.cpp 86 PackageWatchingManager.cpp 87 PriorityMessageQueue.cpp 88 RecentApps.cpp 89 RecentEntries.cpp 90 Registrar.cpp 91 RosterAppInfo.cpp 92 RosterSettingsCharStream.cpp 93 ShutdownProcess.cpp 94 TextSnifferAddon.cpp 95 TRoster.cpp 96 Watcher.cpp 97 WatchingService.cpp 98 99 # mime 100 CreateAppMetaMimeThread.cpp 101 MimeUpdateThread.cpp 102 RegistrarThread.cpp 103 RegistrarThreadManager.cpp 104 UpdateMimeInfoThread.cpp 105 106 R5Compatibility.cpp 107 : 108 libstorage_kit_mime.a 109 be localestub [ TargetLibstdc++ ] 110 : 111 test_registrar.rdef 112; 113 114if $(TARGET_PLATFORM) = libbe_test { 115 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : test_registrar 116 : tests!apps ; 117 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : run_test_registrar 118 : tests!apps ; 119} 120