Get many misc test programs compiling again after the src reorg

This commit is contained in:
Ryan Prichard 2016-01-15 03:08:10 -06:00
parent 42cac8d24d
commit d72f4a44f8
19 changed files with 19 additions and 19 deletions

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@
#include <wchar.h> #include <wchar.h>
#include "TestUtil.cc" #include "TestUtil.cc"
#include "../shared/DebugClient.cc" #include "../src/shared/DebugClient.cc"
static void queryCurrentConsoleFont(HANDLE conout, BOOL max) { static void queryCurrentConsoleFont(HANDLE conout, BOOL max) {
CONSOLE_FONT_INFO info = {0}; CONSOLE_FONT_INFO info = {0};

View File

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

View File

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

View File

@ -2,7 +2,7 @@
#include <stdio.h> #include <stdio.h>
#include <windows.h> #include <windows.h>
#include "../shared/DebugClient.cc" #include "../src/shared/DebugClient.cc"
const int SC_CONSOLE_MARK = 0xFFF2; const int SC_CONSOLE_MARK = 0xFFF2;
const int SC_CONSOLE_SELECT_ALL = 0xFFF5; const int SC_CONSOLE_SELECT_ALL = 0xFFF5;

View File

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

View File

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

View File

@ -8,7 +8,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include "../shared/DebugClient.h" #include "../src/shared/DebugClient.h"
// Launch this test program again, in a new console that we will destroy. // Launch this test program again, in a new console that we will destroy.
static void startChildProcess(const wchar_t *args) { static void startChildProcess(const wchar_t *args) {

View File

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

View File

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

View File

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

View File

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

View File

@ -14,7 +14,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <wchar.h> #include <wchar.h>
#include "../shared/DebugClient.cc" #include "../src/shared/DebugClient.cc"
#include "TestUtil.cc" #include "TestUtil.cc"
const int SC_CONSOLE_MARK = 0xFFF2; const int SC_CONSOLE_MARK = 0xFFF2;

View File

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

View File

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

View File

@ -1,5 +1,5 @@
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0501
#include "../shared/DebugClient.cc" #include "../src/shared/DebugClient.cc"
#include <windows.h> #include <windows.h>
#include <stdio.h> #include <stdio.h>

View File

@ -4,7 +4,7 @@
*/ */
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0501
#include "../shared/DebugClient.cc" #include "../src/shared/DebugClient.cc"
#include <windows.h> #include <windows.h>
#include <stdio.h> #include <stdio.h>