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:
parent
b3727040a0
commit
285a7bf086
@ -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 ;
|
||||
|
||||
|
4
src/tests/kits/interface/Jamfile
Normal file
4
src/tests/kits/interface/Jamfile
Normal file
@ -0,0 +1,4 @@
|
||||
SubDir OBOS_TOP src tests kits interface ;
|
||||
|
||||
SubInclude OBOS_TOP src tests kits interface bprintjob ;
|
||||
|
14
src/tests/kits/interface/bprintjob/Jamfile
Normal file
14
src/tests/kits/interface/bprintjob/Jamfile
Normal 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 ] ;
|
||||
|
14
src/tests/kits/media/Jamfile
Normal file
14
src/tests/kits/media/Jamfile
Normal 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 ;
|
||||
|
10
src/tests/kits/media/nodetest/Jamfile
Normal file
10
src/tests/kits/media/nodetest/Jamfile
Normal 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
|
||||
;
|
||||
|
8
src/tests/kits/midi/Jamfile
Normal file
8
src/tests/kits/midi/Jamfile
Normal 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 ;
|
||||
|
9
src/tests/kits/midi/midi_player/Jamfile
Normal file
9
src/tests/kits/midi/midi_player/Jamfile
Normal 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
|
||||
;
|
||||
|
17
src/tests/kits/midi/midi_player_replacement/Jamfile
Normal file
17
src/tests/kits/midi/midi_player_replacement/Jamfile
Normal 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
|
||||
;
|
||||
|
8
src/tests/kits/midi/synth_file_reader/Jamfile
Normal file
8
src/tests/kits/midi/synth_file_reader/Jamfile
Normal file
@ -0,0 +1,8 @@
|
||||
SubDir OBOS_TOP src tests kits midi synth_file_reader ;
|
||||
|
||||
SimpleTest sfr
|
||||
: SynthFileReader.cpp
|
||||
main.cpp
|
||||
: be root game
|
||||
;
|
||||
|
14
src/tests/kits/net/Jamfile
Normal file
14
src/tests/kits/net/Jamfile
Normal 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 : ;
|
6
src/tests/kits/support/Jamfile
Normal file
6
src/tests/kits/support/Jamfile
Normal 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 ;
|
||||
|
24
src/tests/kits/support/barchivable/Jamfile
Normal file
24
src/tests/kits/support/barchivable/Jamfile
Normal 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 ;
|
||||
|
10
src/tests/kits/support/barchivable/remoteobjectdef/Jamfile
Normal file
10
src/tests/kits/support/barchivable/remoteobjectdef/Jamfile
Normal 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
|
||||
;
|
||||
|
17
src/tests/kits/support/bautolock/Jamfile
Normal file
17
src/tests/kits/support/bautolock/Jamfile
Normal 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 ""
|
||||
|
23
src/tests/kits/support/blocker/Jamfile
Normal file
23
src/tests/kits/support/blocker/Jamfile
Normal 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 ""
|
||||
|
10
src/tests/kits/translation/Jamfile
Normal file
10
src/tests/kits/translation/Jamfile
Normal 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 ;
|
||||
|
10
src/tests/kits/translation/multitest/Jamfile
Normal file
10
src/tests/kits/translation/multitest/Jamfile
Normal 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
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user