Merge branch 'main' of gitlab.emi.u-bordeaux.fr:pt2/teams-s4/tm07/lightup-07c
This commit is contained in:
commit
fc4e6d3457
2 files changed
+40
-12
No files matched your search
Vendored
+38
-10
@@ -1,12 +1,40 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"game_ext.h": "c",
|
||||
"game_aux.h": "c",
|
||||
"game.h": "c",
|
||||
"game_private.h": "c",
|
||||
"history.h": "c",
|
||||
"game_tools.h": "c"
|
||||
},
|
||||
"editor.formatOnSave": true,
|
||||
"C_Cpp.clang_format_path": "/usr/bin/clang-format"
|
||||
"files.associations": {
|
||||
"game_ext.h": "c",
|
||||
"game_aux.h": "c",
|
||||
"game.h": "c",
|
||||
"game_private.h": "c",
|
||||
"history.h": "c",
|
||||
"game_tools.h": "c"
|
||||
},
|
||||
"editor.formatOnSave": true,
|
||||
"C_Cpp.clang_format_path": "/usr/bin/clang-format",
|
||||
"C_Cpp_Runner.cCompilerPath": "/usr/bin/gcc",
|
||||
"C_Cpp_Runner.cppCompilerPath": "/usr/bin/g++",
|
||||
"C_Cpp_Runner.debuggerPath": "/usr/bin/gdb",
|
||||
"C_Cpp_Runner.cStandard": "",
|
||||
"C_Cpp_Runner.cppStandard": "",
|
||||
"C_Cpp_Runner.msvcBatchPath": "",
|
||||
"C_Cpp_Runner.warnings": [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Wpedantic"
|
||||
],
|
||||
"C_Cpp_Runner.enableWarnings": true,
|
||||
"C_Cpp_Runner.warningsAsError": true,
|
||||
"C_Cpp_Runner.compilerArgs": [],
|
||||
"C_Cpp_Runner.linkerArgs": [],
|
||||
"C_Cpp_Runner.includePaths": [],
|
||||
"C_Cpp_Runner.includeSearch": [
|
||||
"*",
|
||||
"**/*"
|
||||
],
|
||||
"C_Cpp_Runner.excludeSearch": [
|
||||
"**/build",
|
||||
"**/build/**",
|
||||
"**/.*",
|
||||
"**/.*/**",
|
||||
"**/.vscode",
|
||||
"**/.vscode/**"
|
||||
]
|
||||
}
|
||||
+2
-2
@@ -177,14 +177,14 @@ bool test_history_copy(void) {
|
||||
return true;
|
||||
}
|
||||
|
||||
int usage(int argc, char* argv[]) {
|
||||
int usage(char* argv[]) {
|
||||
fprintf(stderr, "Usage: %s <testname> [<...>]\n", argv[0]);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
if (argc == 1) {
|
||||
usage(argc, argv);
|
||||
usage(argv);
|
||||
}
|
||||
fprintf(stderr, "=> Start test \"%s\"\n", argv[1]);
|
||||
bool ok = true;
|
||||
|
||||
Reference in new issue
Block a user