Get a bunch of misc test programs compiling again
This commit is contained in:
parent
71405ba1d4
commit
0f6de50111
@ -1,7 +1,6 @@
|
||||
#include <windows.h>
|
||||
#include <cassert>
|
||||
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
#include "TestUtil.cc"
|
||||
|
||||
void dumpInfoToTrace() {
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include <io.h>
|
||||
#include <cassert>
|
||||
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
#include "TestUtil.cc"
|
||||
|
||||
int main()
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
#include "TestUtil.cc"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include <wchar.h>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
static void queryCurrentConsoleFont(HANDLE conout, BOOL max) {
|
||||
CONSOLE_FONT_INFO info = {0};
|
||||
|
@ -9,10 +9,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/TimeMeasurement.h"
|
||||
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
#include "../src/shared/WinptyAssert.cc"
|
||||
|
||||
const int SC_CONSOLE_MARK = 0xFFF2;
|
||||
const int SC_CONSOLE_SELECT_ALL = 0xFFF5;
|
||||
|
@ -52,7 +52,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
const char *g_prefix = "";
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
const char *g_prefix = "";
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
#include "../src/shared/WinptyAssert.cc"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int col = atoi(argv[1]);
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
#define COUNT_OF(array) (sizeof(array) / sizeof((array)[0]))
|
||||
|
||||
|
@ -9,6 +9,10 @@
|
||||
#include <string>
|
||||
|
||||
#include "../src/shared/DebugClient.h"
|
||||
#include "../src/shared/TimeMeasurement.h"
|
||||
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
#include "../src/shared/WinptyAssert.cc"
|
||||
|
||||
// Launch this test program again, in a new console that we will destroy.
|
||||
static void startChildProcess(const wchar_t *args) {
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
#define COUNT_OF(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
#define COUNT_OF(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
static void writeChars(const wchar_t *text) {
|
||||
wcslen(text);
|
||||
|
@ -63,7 +63,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
long long width = 9000;
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <wchar.h>
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
#include "TestUtil.cc"
|
||||
|
||||
const int SC_CONSOLE_MARK = 0xFFF2;
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
#include "TestUtil.cc"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include "TestUtil.cc"
|
||||
#include "../src/shared/DebugClient.cc"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
if (argc == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user