Add test makefile for easy execution
This commit is contained in:
parent
5f76cda00f
commit
93e01858ca
|
@ -0,0 +1,7 @@
|
||||||
|
export PATH := $(HOME)/.cargo/bin/:$(PATH)
|
||||||
|
|
||||||
|
test_cpp_out: always
|
||||||
|
@cargo build --manifest-path ../cpp_out/Cargo.toml --release
|
||||||
|
@./../cpp_out/target/release/cpp_out
|
||||||
|
|
||||||
|
always: ;
|
|
@ -23,6 +23,17 @@
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "run test make",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "wsl make -f Test.mk test_${input:project}",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/Tests"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
|
|
Loading…
Reference in New Issue