Tried to get the remaining tests added to the build.

* The support kit tests are commented out as they badly fail to compile.
* I tried the net kit tests, but had to stop very early as I didn't get it
  compiled. David?
* Some BFS tests don't compile due to a missing header and the undefined
  B_BAD_DATA. Axel?
...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@185 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2002-07-13 22:43:55 +00:00
parent b3727040a0
commit 285a7bf086
17 changed files with 204 additions and 0 deletions

View File

@ -1,5 +1,11 @@
SubDir OBOS_TOP src tests kits ;
SubInclude OBOS_TOP src tests kits app ;
SubInclude OBOS_TOP src tests kits interface ;
SubInclude OBOS_TOP src tests kits media ;
SubInclude OBOS_TOP src tests kits midi ;
SubInclude OBOS_TOP src tests kits net ;
SubInclude OBOS_TOP src tests kits storage ;
SubInclude OBOS_TOP src tests kits support ;
SubInclude OBOS_TOP src tests kits translation ;

View File

@ -0,0 +1,4 @@
SubDir OBOS_TOP src tests kits interface ;
SubInclude OBOS_TOP src tests kits interface bprintjob ;

View File

@ -0,0 +1,14 @@
SubDir OBOS_TOP src tests kits interface bprintjob ;
SimpleTest print_test
: PrintTestApp.cpp
PrintTestWindow.cpp
PrintTestView.cpp
PrintJob.cpp # Link against the library later.
: root be
;
# Tell Jam where to find these sources
SEARCH on [ FGristFiles PrintJob.cpp ]
= [ FDirName $(OBOS_TOP) src kits interface ] ;

View File

@ -0,0 +1,14 @@
SubDir OBOS_TOP src tests kits media ;
SimpleTest AreaTest : AreaTest.cpp : be root ;
SimpleTest BufferTest : BufferTest.cpp : libmedia.so be root ;
SimpleTest SizeofTest : SizeofTest.cpp : be root ;
SimpleTest TimedEventQueueTest : TimedEventQueueTest.cpp
: libmedia.so be root ;
SubInclude OBOS_TOP src tests kits media nodetest ;

View File

@ -0,0 +1,10 @@
SubDir OBOS_TOP src tests kits media nodetest ;
SimpleTest NodeTest
: main.cpp
misc.cpp
ConsumerNode.cpp
ProducerNode.cpp
: libmedia.so be root
;

View File

@ -0,0 +1,8 @@
SubDir OBOS_TOP src tests kits midi ;
SimpleTest test1 : test1.cpp : libmidi.so be stdc++.r4 ;
SubInclude OBOS_TOP src tests kits midi midi_player ;
SubInclude OBOS_TOP src tests kits midi midi_player_replacement ;
SubInclude OBOS_TOP src tests kits midi synth_file_reader ;

View File

@ -0,0 +1,9 @@
SubDir OBOS_TOP src tests kits midi midi_player ;
SimpleTest MidiPlayer
: MidiPlayer.cpp
Midi1To2Bridge.cpp
MidiDelay.cpp
: midi midi2 be stdc++.r4
;

View File

@ -0,0 +1,17 @@
SubDir OBOS_TOP src tests kits midi midi_player_replacement ;
SimpleTest MidiPlayer2
: # Midi Class
MidiDelay.cpp
# Application
MidiPlayerWindow.cpp
MidiPlayerView.cpp
# Display View
Scope.cpp
Activity.cpp
: midi be tracker
;

View File

@ -0,0 +1,8 @@
SubDir OBOS_TOP src tests kits midi synth_file_reader ;
SimpleTest sfr
: SynthFileReader.cpp
main.cpp
: be root game
;

View File

@ -0,0 +1,14 @@
SubDir OBOS_TOP src tests kits net ;
# bonefish: Tried to get the first test compiling. It complained about not
# being able to find some headers, thus I added the respective include dirs
# until it was asking for headers we currently don't have
# (sys/select.h, sys/sockio.h).
#UsePosixHeaders ;
#SubDirHdrs [ FDirName $(OBOS_TOP) headers posix sys ] ;
#SubDirHdrs [ FDirName $(OBOS_TOP) headers posix net ] ;
#UsePrivateHeaders kernel ;
#UseArchHeaders $(OBOS_ARCH) ;
#SimpleTest at_client : at_client.c : ;

View File

@ -0,0 +1,6 @@
SubDir OBOS_TOP src tests kits support ;
SubInclude OBOS_TOP src tests kits support barchivable ;
SubInclude OBOS_TOP src tests kits support bautolock ;
SubInclude OBOS_TOP src tests kits support blocker ;

View File

@ -0,0 +1,24 @@
SubDir OBOS_TOP src tests kits support barchivable ;
# Fails to compile. Remove the "if" when it does.
if "" {
SubDirHdrs [ FDirName $(OBOS_TOP) src tests kits app ] ;
CommonUnitTest BArchivableTester
: main.cpp
BArchivableTester.cpp
FindInstantiationFuncTester.cpp
InstantiateObjectTester.cpp
LocalTestObject.cpp
ValidateInstantiationTester.cpp
: kits support
: libopenbeos.so be stdc++.r4
: be stdc++.r4
: support
;
} # if ""
SubInclude OBOS_TOP src tests kits support barchivable remoteobjectdef ;

View File

@ -0,0 +1,10 @@
SubDir OBOS_TOP src tests kits support barchivable remoteobjectdef ;
CommonUnitTest RemoteTestObject
: RemoteTestObject.cpp
: kits support
: libopenbeos.so be stdc++.r4
: be stdc++.r4
: support
;

View File

@ -0,0 +1,17 @@
SubDir OBOS_TOP src tests kits support bautolock ;
# Fails to compile. Remove the "if" when it does.
if "" {
CommonUnitTest BAutolockTester
: AutolockLockerTest.cpp
AutolockLooperTest.cpp
AutolockTestAddon.cpp
: kits support
: libopenbeos.so be stdc++.r4
: be stdc++.r4
: support
;
} # if ""

View File

@ -0,0 +1,23 @@
SubDir OBOS_TOP src tests kits support blocker ;
# Fails to compile. Remove the "if" when it does.
if "" {
CommonUnitTest BLockerTester
: BenaphoreLockCountTest1.cpp
ConcurrencyTest1.cpp
ConcurrencyTest2.cpp
ConstructionTest1.cpp
DestructionTest1.cpp
DestructionTest2.cpp
LockerTestAddon.cpp
LockerTestCase.cpp
SemaphoreLockCountTest1.cpp
: kits support
: libopenbeos.so be stdc++.r4
: be stdc++.r4
: support
;
} # if ""

View File

@ -0,0 +1,10 @@
SubDir OBOS_TOP src tests kits translation ;
SimpleTest BitmapStreamTest : BitmapStreamTest.cpp
: libtranslation.so be ;
SimpleTest TranslatorRosterTest : TranslatorRosterTest.cpp
: libtranslation.so be ;
SubInclude OBOS_TOP src tests kits translation multitest ;

View File

@ -0,0 +1,10 @@
SubDir OBOS_TOP src tests kits translation multitest ;
SimpleTest MultiTest
: MainControlWindow.cpp
MultiTest.cpp
WorkView.cpp
WorkWindow.cpp
: libtranslation.so be
;