Tyler Dauwalder
3f6453cd59
Added v4 verbosity level
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 00:12:02 +00:00
Tyler Dauwalder
242a6db230
Changed TestApp to BTestApp for sake of consitency with
...
the rest of the test classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:27:43 +00:00
Ingo Weinhold
b4793125a8
Fixed warnings (method shadowing).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:51:08 +00:00
Tyler Dauwalder
a6b33ea3de
+ Moved BAutolock and BArchivable over to new testing framework.
...
+ Added ability to specify entire suites to the UnitTester program.
+ BAutolock and BArchivable tests now use CPPUNIT_ASSERT, but BLocker
tests crash for some unknown reason with said assertion, so plain old vanilla
assert() is still used. I'll look into this later.
+ BArchivable tests that try to load a RemoteTestObject are failing
because the resource file doesn't appear to be linked into
libsupporttest_RemoteTestObject.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:45:28 +00:00
Michael Phipps
a17c6b5131
Checkin per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:16:28 +00:00
Michael Phipps
eac95b9746
Commit per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:15:19 +00:00
Tyler Dauwalder
aad997bd6c
Finished migrating Storage Kit tests to new framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:03:19 +00:00
Ingo Weinhold
16b9077c10
Stupid me. Forgot to check in the generated file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:35:00 +00:00
Ingo Weinhold
a610fc7459
Merged vanilla branch into main trunk.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:18:28 +00:00
Tyler Dauwalder
d1f6c38f0d
Unit testing update:
...
- Verbosity is now honored globally
- Added BTestCase::Outputf()
- Migrated BNode, BStatable, BDirectory, and BPath tests
- Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules
- Updated Jamfiles for unit testing stuff
- Probably a few other things I've forgotten
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 10:50:55 +00:00
Ingo Weinhold
12aa5123e4
Changes in generated files due to modification in Jambase and jamgram.yy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:53:12 +00:00
Ingo Weinhold
e96d98165c
Added jumptoeof to grammar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:50:11 +00:00
Ingo Weinhold
fe9731da66
* Added parse_jumptoeof() to set the jumptoeof flag and parse_shall_skip() to
...
get it.
* Adjusted parse_file() to terminate when jumptoeof was invoked and reset the
jumptoeof flag.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:49:03 +00:00
Ingo Weinhold
5f2a792b63
* Added compile_jumptoeof() as parsing hook for jumptoeof.
...
* Adjusted compile_rules() to terminate once jumptoeof was run.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:44:36 +00:00
Ingo Weinhold
e73bb7c88e
Added support for always reading the whole Jamfile tree, even when invoking
...
jam in a subdirectory:
* Adjusted SubDir to include the root Jamfile, if invoked from a subdir.
* Added LocalClean and LocalDepends, which work similar to Clean and Depends,
but have no effect, when called from a Jamfile that is not in the tree of
the current subdirectory. Replaced the Clean/Depends invocations with
LocalClean/LocalDepends where necessery.
* Added FIsPrefix which is a support rule for LocalClean and LocalDepends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:42:02 +00:00
Tyler Dauwalder
3401b538ed
Added TestSuite
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:51:17 +00:00
Tyler Dauwalder
c577d5b5f4
Rewritten completely; designed to work with new framework
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:53 +00:00
Tyler Dauwalder
6c3b4a051f
Added code to honor BTestShell::Verbosity() levels when outputting
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:13 +00:00
Tyler Dauwalder
20a45908ba
Added dynamic test loading, plus a hack to allow global access to a BTestShell var
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:49:34 +00:00
beveloper
4aec725457
Taking the address of a temporary is a bug, even if it seems to work fine.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:31:18 +00:00
Ingo Weinhold
0186b32eac
Build hey.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:31 +00:00
Ingo Weinhold
d7caef315e
hey.c -> hey.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:10 +00:00
Ingo Weinhold
1ab5344ac7
Removed jam from the build. It doesn't make sense to build the build tool regularly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:45:31 +00:00
Ingo Weinhold
0702d16ff6
That's the price to pay for having generated files in the CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:43:37 +00:00
Ingo Weinhold
ab8f576120
In case '.' isn't in PATH...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:42:11 +00:00
Ingo Weinhold
7b26da89fc
Set sane variable values for BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:41:22 +00:00
Ingo Weinhold
47e9aba348
Merge from the vendor branch. Now we've got the real version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:37:57 +00:00
Ingo Weinhold
8e5bbc1f49
It wasn't a good idea to remove Jamfile...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:36:08 +00:00
Ingo Weinhold
aa398c8e2c
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:29:12 +00:00
Ingo Weinhold
0bb69689e4
Removed in preparation for jam import.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:28:33 +00:00
Tyler Dauwalder
edcba68313
Added SemaphoreSyncObject, remove SafetyLock
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:31:23 +00:00
Tyler Dauwalder
0a99bdf489
Fixed multithreaded NextSubTest() output problems
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:30:45 +00:00
Tyler Dauwalder
b7ac06cfaa
Semaphore base SyncObject
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:28:41 +00:00
Tyler Dauwalder
4dd5a911be
Rhymes with BAutolock... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:27:54 +00:00
Tyler Dauwalder
e832976e05
Updated to match changes to src/tools/cppunit/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@79 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:39:36 +00:00
Tyler Dauwalder
03aa30ce94
Big CppUnit Update
...
+ Initial threaded test support
+ Integrated CppUnitShell code into TestShell
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@77 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:31:07 +00:00
Tyler Dauwalder
e5c292c0c9
Not currently used or integrated into other files, thus removed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@76 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:30:03 +00:00
Ingo Weinhold
25d7f21603
Typo: key -> hey.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@33 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:07:35 +00:00
Ingo Weinhold
533dbf2142
Adjusted to the new tree structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@20 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:43:03 +00:00
ejakowatz
52a3801208
It is accomplished ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00