* Add missing atom ctor init * Init members with `None` * Use in-class init and delcare getter inside if init * Temp revert of changes ahead of unit test repair * Move IPC header to shared, restore X clipboard test, simplify test cmake, new X clipboard unit test * Suppress sonar for undefs * Remove base dir include * Revert "Temp revert of changes ahead of unit test repair" This reverts commit 8f84b6ea5d5828f1be1362de3809279bcacb8cc8. * Use new accessor * Use default dtor * Beef up to 32 core * Use enum class * Make IPC protocol headers const at all levels * Use enum class and const char for better type safety * Use unique_ptr for m_clipboard * Use `-j` instead of `-j8` to utilize full parallelism * Increase thread count for sonar-scanner * Use 32 threads * Use in-class init for IpcClientProxy members * Use const instead of #define * Remove ctor member inits * Use unique_ptr on win * Implement temp bin dir for windows with more robust post-build copy * Fixed missing iostream * Add warning about copy errors * Only run clean-gcda on Linux * Use in-class init for IPC mutex * Do no-op on Windows * Hide clean-gcda task * Move flakey test to integtests * Delete dead code * Test * Temp disable post_config_all * Disable post config step * Revert "Disable post config step" This reverts commit 2f956a7714ba9bedacd4b39d4ae00940c3d565d6. * Revert "Temp disable post_config_all" This reverts commit b44ed72e44f838bfe1309f6e9672d2f1c6f21b75. * Restore -j8 * Simplify error handling * Use const for test port * Remove python check * Update changelog * Fixed order * Fixed bad issue number * Fixed bin copy source path * Remove redundant except
112 lines
2.6 KiB
JSON
112 lines
2.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "cmake",
|
|
"label": "build",
|
|
"command": "build",
|
|
"targets": ["all"],
|
|
"preset": "${command:cmake.activeBuildPresetName}",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"type": "cmake",
|
|
"label": "clean",
|
|
"command": "build",
|
|
"targets": ["clean"],
|
|
"preset": "${command:cmake.activeBuildPresetName}",
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "reinstall windows daemon",
|
|
"type": "shell",
|
|
"command": "python scripts/windows_daemon.py",
|
|
"dependsOn": ["build"]
|
|
},
|
|
{
|
|
"label": "gui",
|
|
"type": "process",
|
|
"command": "${workspaceFolder}/build/bin/synergy",
|
|
"dependsOn": ["build"]
|
|
},
|
|
{
|
|
"label": "clean-gcda",
|
|
"type": "shell",
|
|
"command": "find . -name '*.gcda' -delete",
|
|
"windows": {
|
|
"command": "$null" // no-op
|
|
},
|
|
"presentation": {
|
|
"reveal": "silent"
|
|
}
|
|
},
|
|
{
|
|
"label": "unittests (current)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--unit-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "integtests (current)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--integ-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "unittests (all)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": ["./scripts/tests.py", "--unit-tests", "--ignore-return-code"],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "integtests (all)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": ["./scripts/tests.py", "--integ-tests", "--ignore-return-code"],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "unittests (current, valgrind)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--unit-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}",
|
|
"--valgrind"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
},
|
|
{
|
|
"label": "integtests (current, valgrind)",
|
|
"type": "shell",
|
|
"command": "python",
|
|
"args": [
|
|
"./scripts/tests.py",
|
|
"--integ-tests",
|
|
"--ignore-return-code",
|
|
"--filter-file=${file}",
|
|
"--valgrind"
|
|
],
|
|
"dependsOn": ["build", "clean-gcda"]
|
|
}
|
|
]
|
|
}
|