[build] Publish unit tests for examples (#5838)

This commit is contained in:
Thad House
2023-10-27 16:57:38 -07:00
committed by GitHub
parent 49920234ac
commit 04dcd80adb
4 changed files with 28 additions and 2 deletions

View File

@@ -22,6 +22,10 @@ task cppExamplesZip(type: Zip) {
from('src/main/cpp/examples') {
into 'examples'
}
from('src/test/cpp/examples') {
into 'examples_test'
}
}
task cppTemplatesZip(type: Zip) {
@@ -35,6 +39,10 @@ task cppTemplatesZip(type: Zip) {
from('src/main/cpp/templates') {
into 'templates'
}
from('src/test/cpp/templates') {
into 'templates_test'
}
}
task cppCommandsZip(type: Zip) {
@@ -48,6 +56,10 @@ task cppCommandsZip(type: Zip) {
from('src/main/cpp/commands') {
into 'commands'
}
from('src/test/cpp/commands') {
into 'commands_test'
}
}
build.dependsOn cppTemplatesZip

View File

@@ -867,7 +867,8 @@
],
"foldername": "UnitTest",
"gradlebase": "cpp",
"commandversion": 2
"commandversion": 2,
"hasunittests": true
},
{
"name": "SimpleDifferentialDriveSimulation",