-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestScripts: Add support for running tests concurrently
Changes: * Change MiniDumper UI output so that it doesn't display any progress output to the console unless --verbose is passed in * Change ValidateHeapEntries to add --no-output option to not display any console output * Add null_stream as a wostream null device * Change Run powershell scripts to run multiple tests up to the number of CPU cores per test to speed up the running of the tests
- Loading branch information
1 parent
0a4d6b6
commit 2ba2031
Showing
14 changed files
with
362 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#pragma once | ||
#include <functional> | ||
#include <string_view> | ||
#include <vector> | ||
#include <experimental/generator> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#pragma once | ||
#include <ostream> | ||
|
||
class null_stream : public std::wostream | ||
{ | ||
private: | ||
class null_buffer : public std::wstreambuf | ||
{ | ||
public: | ||
int_type overflow( int_type const ch ) override | ||
{ | ||
return ch; | ||
} | ||
|
||
// ReSharper disable once IdentifierTypo | ||
std::streamsize xsputn( [[maybe_unused]] const char_type* s, std::streamsize const count ) override | ||
{ | ||
return count; | ||
} | ||
} nb_; | ||
|
||
public: | ||
null_stream() | ||
: std::wostream{&nb_} | ||
{ | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.