Get many misc test programs compiling again after the src reorg
This commit is contained in:
parent
42cac8d24d
commit
d72f4a44f8
@ -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() {
|
||||||
|
@ -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()
|
||||||
|
@ -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[]) {
|
||||||
|
@ -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};
|
||||||
|
@ -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 = "";
|
||||||
|
|
||||||
|
@ -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 = "";
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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]);
|
||||||
|
@ -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]))
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
@ -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]))
|
||||||
|
|
||||||
|
@ -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]))
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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[]) {
|
||||||
|
@ -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) {
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user