Commit graph

61 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 4b67338a7f [REACTOS]: Do not gather all the generated message resource files in the same directory (sdk/include/reactos/), so that to avoid potential file collisions, but instead place them into their respective per-target directories.
CORE-12062 #resolve

[RAPPS_NEW]: Fix rapps_new message header & resource files inclusion.

[ROSTESTS]: Adjust the CMakeLists files in accordance.

svn path=/trunk/; revision=72846
2016-09-28 23:20:20 +00:00
Amine Khaldi 248dcd328b * Addendum to r71184. CORE-9111
svn path=/trunk/; revision=71185
2016-04-20 12:39:37 +00:00
Thomas Faber 42a427d782 [ROSAUTOTEST]
- Update Testman web service URI for the new website since a redirect from the old address will not work for POST. Should fix WHS Testbot.
ROSTESTS-215 #resolve

svn path=/trunk/; revision=70817
2016-02-29 11:57:19 +00:00
Thomas Faber e6d1e20049 [ROSAUTOTEST]
- When directly submitting the results to the web service, make sure to URL-encode the test log, or & signs will terminate the log and make Testman see the test as crashed (and have all other kinds of possible consequences)

svn path=/trunk/; revision=68578
2015-07-26 10:02:03 +00:00
Thomas Faber 634ccedc1c [ROSAUTOTEST]
- Flush cout after each write as already done by Colin in r66855, per ROSTESTS-158
- Use DbgPrint instead of OutputDebugStringA again because the latter only calls the former anyway
Fixes test summary lines not being recognized by Testman, especially on VMware.

A little summary so we don't keep going back and forth with this function:
1) Only writing complete lines is required to that the output doesn't mix with debug output from other components. See r55618
2) OutputDebugStringA splits its input into 512-byte-sized blocks with no regard for line breaks, so using it with strings larger than 512 bytes breaks (1).
3) OutputDebugStringA eventually calls DbgPrint("%s", string) anyway so using it with chunks smaller than 512 bytes is not an optimization
As a result, yes this function MUST split up the lines itself, this can't be optimized or simplified away! kthxbye
ROSTESTS-178 #resolve

svn path=/trunk/; revision=68246
2015-06-23 10:06:38 +00:00
Thomas Faber 77ad885551 [ROSAUTOTEST]
- Revert r66855 to make the upcoming commit's diff show my actual changes.
ROSTESTS-178 ROSTESTS-158

svn path=/trunk/; revision=68245
2015-06-23 09:54:46 +00:00
Colin Finck 40da1525c9 [ROSAUTOTEST]
Make outputting a string as easy as it should be. Now that our StringOut internally uses OutputDebugStringA instead of DbgPrint, we don't need to output in 512 byte chunks anymore.
Additionally, do an explicit flush when using std::cout to not lose debug output.

ROSTESTS-158 #resolve #comment Committed in r66855

svn path=/trunk/; revision=66855
2015-03-22 12:35:08 +00:00
Colin Finck 65b4da13f4 [ROSAUTOTEST]
- Finish a test run in the database when all tests have successfully been run. This got lost during the C++ rewrite of rosautotest in r40147.
- Don't spam the logs with useless OK messages. Only report the web service response if an error occurred.

svn path=/trunk/; revision=66516
2015-03-01 11:19:30 +00:00
Thomas Faber 99126ff14b [ROSAUTOTEST]
- Disable error dialogs unless running in interactive mode
ONLINE-441

svn path=/trunk/; revision=66506
2015-02-28 21:29:44 +00:00
Thomas Faber b3777ffecc [ROSAUTOTEST]
- Continue the testing process in case a test fails to execute
ONLINE-441

svn path=/trunk/; revision=66504
2015-02-28 21:12:25 +00:00
Thomas Faber 7a357f830c [ROSAUTOTEST]
- Avoid double-close of pipe handles

svn path=/trunk/; revision=66482
2015-02-28 06:56:56 +00:00
Colin Finck 8d14ace200 [ROSAUTOTEST]
- Check the environment variable ROSAUTOTEST_DIR for an alternative path to the test executables. Otherwise use the default %windir%\bin
- Update the URL of the web service

svn path=/trunk/; revision=66481
2015-02-28 02:39:14 +00:00
Pierre Schweitzer e8c27f3109 [ROSAUTOTESTS]
Remove redundant GetTickCount() call

svn path=/trunk/; revision=66348
2015-02-18 19:52:04 +00:00
Thomas Faber 8e230698ba [ROSAUTOTEST]
- Add /n option to suppress console output. May or may not help to speed up testbot runs, but can't hurt to have in here.

svn path=/trunk/; revision=66318
2015-02-16 14:55:39 +00:00
Thomas Faber 1ea34407b8 [ROSAUTOTEST]
- Abstract unidirectional anonymous pipes into a CPipe class
- Abstract a process with redirected output into a CPipedProcess class
- Use these abstractions to avoid polling for output from test processes. Instead, use blocking read operations to yield the CPU while waiting for data.
ROSTESTS-144 #resolve

svn path=/trunk/; revision=66316
2015-02-16 13:17:04 +00:00
Amine Khaldi c0e495f046 [CMAKE]
* Addendum to r64795.
* Also remove unneeded wine linking and ntdll importing.
* Remove redundant defines.

svn path=/trunk/; revision=64796
2014-10-17 23:29:24 +00:00
Thomas Faber 5aaaab86e4 [ROSAUTOTEST]
- DbgPrint expects a format string!
ROSTESTS-145 #resolve

svn path=/trunk/; revision=64695
2014-10-12 13:23:38 +00:00
Thomas Faber 8f8255e36b [ROSAUTOTEST]
- Do not duplicate console output in StringOut if forcePrint = false
ROSTESTS-144

svn path=/trunk/; revision=64670
2014-10-11 14:34:56 +00:00
Hermès Bélusca-Maïto b84022008b [ROSAUTOTEST]
Initialize hStdInput to the standard input handle, and hStdError to the output pipe, instead of keeping these handles NULL. See the details why this is important in the Jira report ROSTESTS-140.
ROSTESTS-140 #resolve #comment Fixed.

svn path=/trunk/; revision=64055
2014-09-07 00:34:26 +00:00
Sylvain Petreolle e9807d5306 Fix PCH=0 build.
svn path=/trunk/; revision=63964
2014-08-27 20:32:13 +00:00
Sylvain Petreolle 1f48cab02e [ROSAUTOTEST]
Report the start and end of the tests in the Application event log.
This gives data for the advapi32:eventlog tests.


svn path=/trunk/; revision=63963
2014-08-27 20:19:43 +00:00
Pierre Schweitzer 5ce3089b36 [ROSAUTOTEST]
Use matching delete operator

CID #1102027
CID #1102028

svn path=/trunk/; revision=62635
2014-04-05 21:56:15 +00:00
Amine Khaldi 1c95bdd14c [ROSAUTOTEST]
* Prepare the CMake script for PCH.
* Add header guards to the main header.
CORE-7716

svn path=/trunk/; revision=62102
2014-02-10 17:05:15 +00:00
Thomas Faber bb905b4468 [ROSAUTOTEST]
- Remove an unnecessary hack that makes the app useless on MSVC

svn path=/trunk/; revision=59292
2013-06-22 17:16:25 +00:00
Thomas Faber b6ce4e511a [C++]
- Enable MSVC build of mesa, telnet, explorer and rosautotest
CORE-6950 #resolve

svn path=/trunk/; revision=59291
2013-06-22 16:38:27 +00:00
Thomas Faber d8b4a7bd9e [CMAKE]
- rework set_cpp to allow fine-grained control over enabled language features
CORE-6950

svn path=/trunk/; revision=59288
2013-06-22 14:44:56 +00:00
Timo Kreuzer 2b6431ea3e Amendment to r58335
svn path=/trunk/; revision=58336
2013-02-17 15:12:16 +00:00
Amine Khaldi c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +00:00
Colin Finck b5e81e6c46 [ROSAUTOTEST]
Use FILE_FLAG_NO_BUFFERING and FILE_FLAG_WRITE_THROUGH in the hope that they prevent journal changes from getting lost.

svn path=/trunk/; revision=57077
2012-08-14 20:33:54 +00:00
Colin Finck 647486074a [ROSAUTOTEST]
Use "advanced C++ features" like default parameters to reduce the complexity of StringOut calls and fix a warning in the MSVC build :-)

svn path=/trunk/; revision=57076
2012-08-14 20:25:58 +00:00
Cameron Gutman 04177d9d19 [ROSAUTOTEST]
- Flush file buffers after writing to the crash recovery journal

svn path=/trunk/; revision=55933
2012-02-29 19:44:44 +00:00
Amine Khaldi 7d3f5052d0 * Addendum to r55855.
svn path=/trunk/; revision=55856
2012-02-25 17:23:58 +00:00
Kamil Hornicek 04135b7ce4 [ROSAUTOTEST]
If the last chunk of the string sent to StringOut isn't a whole line and forcePrint is set to false, send back what's left after processing. The caller is then responsible for prepending that string next time it calls StringOut. Should fix the rest of debug log corruptions.

svn path=/trunk/; revision=55670
2012-02-17 12:31:32 +00:00
Kamil Hornicek a7b1c97a33 [ROSAUTOTEST]
Some bug fixing.

svn path=/trunk/; revision=55621
2012-02-16 00:52:20 +00:00
Kamil Hornicek 032a2af1fb [ROSAUTOTEST]
Try to print whole lines so the output from tests doesn't get mixed with debug output from other reactos components.

svn path=/trunk/; revision=55618
2012-02-15 21:18:13 +00:00
Giannis Adamopoulos aac3d18763 [rosautotest]
- When rosautotest is launched, show how much time has past since the machine has started
- Also show how much time each individual test need to complete
- The purpose of this feature isn't to benchmark the os but to let us spot regressions regarding test time 

svn path=/trunk/; revision=55441
2012-02-05 20:56:21 +00:00
Jérôme Gardou e58c2e969c [ROSTESTS]
- rostests side of r53559
- remove some definitions instead of just staring at the compiler emitting warnings

svn path=/trunk/; revision=53560
2011-09-03 19:19:57 +00:00
Jérôme Gardou da1b81d04f [CMAKE]
- do not use half supported precompiled header wrongly for rosautotests

svn path=/trunk/; revision=52483
2011-06-27 17:20:02 +00:00
Jérôme Gardou 9482663bde [CMAKE/ROSTESTS]
Addendum to 51749

svn path=/trunk/; revision=51750
2011-05-14 20:55:36 +00:00
Jérôme Gardou 34d5d94b0a [ROSTESTS/CMAKE]
- addendum to 51731

svn path=/trunk/; revision=51733
2011-05-14 14:03:44 +00:00
Colin Finck 736698d868 [ROSAUTOTEST]
- Fix direct submission to Testman after the recent changes and finally change the location to "reactos.org" instead of "localhost".
  Makes Rosautotest ready for running tests on our upcoming Windows Server instance.

svn path=/trunk/; revision=50502
2011-01-26 21:56:17 +00:00
Giannis Adamopoulos ce53947b29 Revert 50381 and 50382. Altough it reduces number of reboots in the test server, it somehow reveals a registry corruption and cripples completely automated testing
svn path=/trunk/; revision=50386
2011-01-14 23:20:26 +00:00
Amine Khaldi bb2d08d57e [CMAKE]
- Fix rosautotest build.

svn path=/trunk/; revision=50382
2011-01-13 11:13:09 +00:00
Giannis Adamopoulos ff9649d7d7 [rosautotest]
-Implement closing any dialog that shows and stays visible for some time. This way rosautotest can now continue if a test application crashes or asserts.

svn path=/trunk/; revision=50381
2011-01-13 09:58:04 +00:00
Sylvain Petreolle ab2048a22f [CMAKE]
Add rosautotest and kernel32_winetest to bootcdregtest.
cmake bootcdregtest lives.

svn path=/trunk/; revision=50227
2010-12-30 21:49:36 +00:00
Amine Khaldi e26b7f9a66 [CMAKE]
- Wine lib isn't needed for rosautotest.

svn path=/trunk/; revision=50226
2010-12-30 17:58:18 +00:00
Amine Khaldi 078e5c0a31 [CMAKE]
- Update oleaut32 winetest.
- Add rosautotest to build.

svn path=/trunk/; revision=50225
2010-12-30 17:55:25 +00:00
Colin Finck dfa9eb6204 [General]
- Remove the "kernel32" library reference in all .rbuild files of user-mode modules, because this one is already added by "mingw_common". Also fix the indentation in some files.

svn path=/trunk/; revision=44368
2009-12-02 20:32:16 +00:00
Gregor Schneider 70dc807bf2 [rosautotest]: Find the last underscore instead of the first one when building a module name, hurray for twain_32_winetest and ws2_32_winetest
See issue #4929 for more details.

svn path=/trunk/; revision=44282
2009-11-24 20:36:53 +00:00
Stefan Ginsberg a4cad0ba8d - Fix compiler flag for rosautotest
- Get rid of -Wno-format in the Winetests, replacing it with __ROS_LONG64__.

svn path=/trunk/; revision=41453
2009-06-18 22:16:49 +00:00