Jérôme Duval
34720c47f1
Added kernel benchmarks from bsd
...
The purpose is to compare Haiku and BeOS R5 on specific operations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 15:28:48 +00:00
Jérôme Duval
312ba9dd6e
Added bonnie from http://www.textuality.com/bonnie/
...
Bonnie is a benchmark for measuring performance of FS operations
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-30 20:01:20 +00:00
Axel Dörfler
bb59e8a636
The boot loader test now builds again fine.
...
Removed -fcheck-memory-usage for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 16:23:48 +00:00
Axel Dörfler
cd3931efde
Added find_directory() test application. Unlike the other tests, it only
...
tests the libroot.so implementation, so it has to be run under Haiku to
test its implementation (it only prints out all directories, anyway).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:44:11 +00:00
Ingo Weinhold
36fc85d5a2
Disabled DDM tests for the time being.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:40:45 +00:00
shatty
515b8e939e
add shared private headers so that intel.cpp will compile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:56:26 +00:00
shatty
2815fe6622
help the test find KPath-related files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:40:08 +00:00
Axel Dörfler
e16b2bc4a9
Added a test application for the BlockMap class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:05:44 +00:00
Axel Dörfler
3bdc0a2298
The boot loader test now builds again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 17:50:52 +00:00
Axel Dörfler
0422b3872e
The userland DiskDeviceManagerTest now works again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:23:24 +00:00
Axel Dörfler
4ac038c1cc
Fixed the build of the DoublyLinkedList test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:23:08 +00:00
Axel Dörfler
b747c3b791
Updated to match the changes in the boot loader.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:58:02 +00:00
Axel Dörfler
29d7bb65e5
Changed the test app, so that it automatically picks up changes to the
...
kSettings array.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-25 01:10:45 +00:00
Tyler Dauwalder
432e748fb5
Added session ddm module to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:56:11 +00:00
Axel Dörfler
12d314225a
Fixed the test; I wanted to use setlogmask_team() there...
...
Added tests for the repeated message suppressing.
Added test for having no ident string.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 02:59:09 +00:00
Axel Dörfler
05f8d13ed9
Now also checks if the context is kept after a closelog().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:42:13 +00:00
Axel Dörfler
21f3abb2b4
Added a test for the syslog functionality.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 16:37:46 +00:00
Axel Dörfler
a6c27d152d
Now prints out a message when the allocation function is called.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 05:38:01 +00:00
Axel Dörfler
3a8a05a459
Now works again, added missing platform functionality.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:26:51 +00:00
Axel Dörfler
494601c3fc
The boot loader test application now works again (adapted to recent
...
changes).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 00:50:17 +00:00
Axel Dörfler
83d00a1ef4
Added a test suite for the DoublyLinkedList implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 03:21:02 +00:00
Axel Dörfler
698a5fd9b0
Fixed compilation and warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 02:22:51 +00:00
Axel Dörfler
df710eb34c
Now redefines the realloc() function as well (so that the correct one will be used).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 02:04:23 +00:00
Axel Dörfler
58020b9aa9
Added dummy for platform_user_menu_requested() (always returns "false" for now).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:42:31 +00:00
Axel Dörfler
2f72291d1b
Updated to support the new platform API and bootloader features.
...
Note: it will try to load the "kernel_intel" file for now (it'll
be kernel_x86 or kernel_ppc in the real thing).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:32:51 +00:00
Axel Dörfler
85ee5b9e24
Added a hint on how to build bfs as big endian file system for testing purposes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 01:30:58 +00:00
Axel Dörfler
ee9b3cfd75
Now links against the boottest file system modules, it doesn't build them
...
directly anymore (due to name clashes).
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 22:31:06 +00:00
Axel Dörfler
7be68ba5e7
Does now return the correct size if the handle belongs to a real file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 22:29:05 +00:00
Axel Dörfler
2430b4ed28
Added Jamfiles to build the userland boot file system modules to a
...
different directory than the main boot loader test application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 22:20:12 +00:00
Axel Dörfler
0ec3701b5f
Removed check-memory-usage flags as that wouldn't work on R5 (it was distributed
...
without memory checking - you would have to download an extra library to get it).
Added the strlcpy() command, since it's not part of the R5 libroot.so.
Should now build on R5 as well (not tested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-13 01:13:27 +00:00
Axel Dörfler
c6c1620a32
Added/changed some test input strings. Removed an unused variable.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:48:39 +00:00
Axel Dörfler
e6889ed1a3
Added the new BFS files BPlusTree.cpp and File.cpp.
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:40:27 +00:00
Axel Dörfler
3e64cf641c
No longer scans the whole /dev/disk tree, but only the "ide", "scsi", and
...
"virtual" subtrees in it (no more parallel, ... scanning).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:14:03 +00:00
Axel Dörfler
4e91b25740
Tried to use stat() to get the size of the file, but of course, that don't
...
work out for devices - still need to fix it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 07:12:55 +00:00
Axel Dörfler
184dd21b87
Adds the new Stream.cpp file to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 02:29:33 +00:00
Axel Dörfler
b796791788
Now adds real devices - it scans the /dev/disk tree and adds all files
...
with the name "raw" - note, this is directly accessing your precious data,
but read-only of course.
Also added the test-file-device as used by the DiskDeviceManagerTest.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:20:07 +00:00
Axel Dörfler
fe281d90df
Now has the possibility of opening a file directly, instead of only
...
accepting already opened files.
Hence, it now also has an InitCheck() method, because opening doesn't
have to succeed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:18:02 +00:00
Axel Dörfler
fa89d1f6f3
Now exports the calls of the boot loader heap no longer the platform dependent
...
bindings - we are now using stdlib's malloc()/free() directly instead.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:16:38 +00:00
Axel Dörfler
6b770349d5
Added partitioning and file systems to the build.
...
Removed the boot loader heap - it now uses standard malloc()/free() in order
to cause less confusion. The boot heap does have its own test app anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 01:15:13 +00:00
Ingo Weinhold
508fd666f4
Replaced ObjectDefines by the newly introduces ObjectsDefines and replaced BuildPlatformTest by SimpleTest (that's, how I understood Axel's previous comment, what he wanted in the first place).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 20:50:46 +00:00
Axel Dörfler
9a7a3f03c1
While "BuildPlatformTest" doesn't define OBOS_TEST, "ObjectDefines" doesn't
...
seem to work in combination with "SimpleTest".
As I am too lazy to figure out what's causing this, I hope for Ingo :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 18:17:09 +00:00
Axel Dörfler
8c7387275b
Added support for BeOS; Handle.cpp uses read_pos() now, and will define
...
that to pread() if read_pos() doesn't exist.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:49:03 +00:00
Axel Dörfler
0547046085
Added the userland boot loader test to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:32:24 +00:00
Axel Dörfler
9e20549fb6
The boot loader heap test now defines HEAP_TEST in order to let heap.cpp
...
export dump_chunk().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:31:31 +00:00
Axel Dörfler
572edf3377
Added the start of a userland boot loader test (i.e. userland platform
...
bindings for the stage2 boot loader).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 17:28:58 +00:00
Tyler Dauwalder
a64f0e9fc2
Now uses new SinglyLinkedList template parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 06:22:27 +00:00
Axel Dörfler
3f4524a309
Improved the test application: it now accepts a test disk image as first
...
parameter (else it falls back to the old behaviour, trying to open
/boot/home/tmp/test-file-device).
Also fixed the hackish busy loop to at least snooze() a bit (so that it
doesn't use all your CPU energy while debugging a partitioning module :-)).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 16:33:14 +00:00
Axel Dörfler
4f5bd2b685
Added the amiga_rdb and apple modules to the list of dependencies for the
...
disk device manager test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 16:31:01 +00:00
Axel Dörfler
6fb692ef97
Added some more test dates, nicer output.
...
Reveals some bugs in the original parsedate() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 02:11:16 +00:00
Axel Dörfler
c6a70c8d1b
Added a test application for the parsedate() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:34:10 +00:00