Commit Graph

618 Commits

Author SHA1 Message Date
Matthew Wilber
4409942491 added macro to eliminate the chance of typos in the name strings and thus fixed at least one copy/paste error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 01:34:46 +00:00
Matthew Wilber
610eca212f initial checkin for tiffinfo, a command line tool for displaying information about TIFF image files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:55:52 +00:00
Matthew Wilber
069801512a initial check in for bitsinfo, a command line tool for displaying information about Be bitmap images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:54:51 +00:00
Matthew Wilber
a5c45f9618 initial check in for translation tools directory, contains bitsinfo and tiffinfo tools
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:52:57 +00:00
Matthew Wilber
4e2b1a4594 added translation subdirectory for tools used in developing translators
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-25 00:51:23 +00:00
mahlzeit
e664742f9d - added import statement
- resources can now have fixed sizes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-06 12:10:42 +00:00
mahlzeit
f6afc7c611 When compiling multiple input files, the line number counter
was not reset correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 10:24:04 +00:00
Ingo Weinhold
4d95f6c63c Worked around a problem with mwcc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-02 00:15:44 +00:00
Ingo Weinhold
6ef929c392 Merged in changes from vanilla fixes branch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:29:44 +00:00
Ingo Weinhold
cf838755a9 Added rc to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 17:01:09 +00:00
mahlzeit
285c7c7335 Import of rc and librdef 1.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 15:18:36 +00:00
beveloper
7120e97489 a small tool to print files that consist of a flattened BMessage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 23:20:24 +00:00
Ingo Weinhold
9bfac2505c To remove empty and comment lines from the Jamfile cache sounds like a nice idea, but it fools the line counter and thus makes error and warning messages a quite confusing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 19:18:25 +00:00
Ingo Weinhold
b229fec87b Added support for multiple BTestHandlers in a BTestApp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:55:09 +00:00
Ingo Weinhold
3a361cfe8d Added jamfile caching.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:35:19 +00:00
Ingo Weinhold
05c57717ee Changed MAXLINE back to its original value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:34:10 +00:00
Ingo Weinhold
d78319516e Removed superfluous search() in compile_on().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:30:51 +00:00
Ingo Weinhold
9079f971cf Added items for the recent changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:29:37 +00:00
Ingo Weinhold
9c0149e2c8 Added jamfile caching to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 00:28:20 +00:00
Ingo Weinhold
14911e19ca Added Matt Armstrong's header caching (based on an implementation by Craig McPheeters).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 18:52:35 +00:00
Ingo Weinhold
4ed788defa Changes to the original Jam version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 18:48:41 +00:00
Axel Dörfler
339b7d7547 Our libroot.so starts to be too big for jam... (until that is fixed, we
need this patch in place to keep the thing building).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 02:16:39 +00:00
jerl1
e690855c7b *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-20 11:36:24 +00:00
Tyler Dauwalder
03f8be561d Added initial timing support. Individual test cases now display run time
information for verbosity >= v2. I'll probably add a command-line
toggle specifically for timing info someday. I also hope to add per-test
and per-suite run time info eventually as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:50:56 +00:00
Tyler Dauwalder
c5ff4aa6f5 It became apparent that in order to assure obos tests are run
with obos libs and r5 tests are run with r5 libs, two separate
unit testing programs in different directories would be needed.
Thus UnitTester is now just a shell program that calls the
appropriate unittester/UnitTester or unittester_r5/UnitTester_r5
program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:45:17 +00:00
Ingo Weinhold
1007bf167d Added B_BAD_TEAM_ID to known error codes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:25:02 +00:00
Ingo Weinhold
70c87ab1f9 Merged in changes for fixes to PPC support from vanilla branch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 20:55:39 +00:00
Tyler Dauwalder
21791a4472 Added my favoritest error code ever to DecodeResult()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:06:38 +00:00
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