Get a bunch of misc test programs compiling again

This commit is contained in:
Ryan Prichard 2016-06-03 22:17:37 -05:00
parent 71405ba1d4
commit 0f6de50111
17 changed files with 5 additions and 20 deletions

View File

@ -1,7 +1,6 @@
#include <windows.h>
#include <cassert>
#include "../src/shared/DebugClient.cc"
#include "TestUtil.cc"
void dumpInfoToTrace() {

View File

@ -7,7 +7,6 @@
#include <io.h>
#include <cassert>
#include "../src/shared/DebugClient.cc"
#include "TestUtil.cc"
int main()

View File

@ -15,7 +15,6 @@
#include <cstdio>
#include <cstdlib>
#include "../src/shared/DebugClient.cc"
#include "TestUtil.cc"
int main(int argc, char *argv[]) {

View File

@ -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};

View File

@ -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;

View File

@ -52,7 +52,6 @@
#include <string.h>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
const char *g_prefix = "";

View File

@ -1,7 +1,6 @@
#include <windows.h>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
const char *g_prefix = "";

View File

@ -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]);

View File

@ -5,7 +5,6 @@
#include <string>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
#define COUNT_OF(array) (sizeof(array) / sizeof((array)[0]))

View File

@ -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) {

View File

@ -16,7 +16,6 @@
#include <string.h>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
#define COUNT_OF(x) (sizeof(x) / sizeof((x)[0]))

View File

@ -4,7 +4,6 @@
#include <vector>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
#define COUNT_OF(x) (sizeof(x) / sizeof((x)[0]))

View File

@ -8,7 +8,6 @@
#include <stdio.h>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
static void writeChars(const wchar_t *text) {
wcslen(text);

View File

@ -63,7 +63,6 @@
#include <vector>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
int main(int argc, char *argv[]) {
long long width = 9000;

View File

@ -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;

View File

@ -6,7 +6,6 @@
#include <stdio.h>
#include <stdlib.h>
#include "../src/shared/DebugClient.cc"
#include "TestUtil.cc"
int main(int argc, char *argv[]) {

View File

@ -1,7 +1,6 @@
#include <windows.h>
#include "TestUtil.cc"
#include "../src/shared/DebugClient.cc"
int main(int argc, char *argv[]) {
if (argc == 1) {