build-automation

Having CMake put generated binaries in a specific directory structure with assets

六眼飞鱼酱① 提交于 2021-02-17 15:07:29
问题 My project's directory structure is basically as follows: root/src root/assets root/library I currently have CMake set up to compile the source, compile the library, and then link them, by calling make from the root directory. I then have to manually move the executable into the original assets directory to get it to run, since that's where it expects to be (and we want to test with our directory structure in assets as close to what we expect it to be when it's done). So, is there any way to

Having CMake put generated binaries in a specific directory structure with assets

岁酱吖の 提交于 2021-02-17 15:02:09
问题 My project's directory structure is basically as follows: root/src root/assets root/library I currently have CMake set up to compile the source, compile the library, and then link them, by calling make from the root directory. I then have to manually move the executable into the original assets directory to get it to run, since that's where it expects to be (and we want to test with our directory structure in assets as close to what we expect it to be when it's done). So, is there any way to

Azure devops - Preparing self hosted test agents

你说的曾经没有我的故事 提交于 2021-02-08 08:45:20
问题 What is the best way to create a list of Self-hosted agents in Azure Devops (In order to run Automated tests with Smartbear TestExecute) without doing all the steps manually ? Let's assume that there will be 40-50 PCs running Windows 10 which have to be made an agent and linked with the Azure pipelines. I'm looking for a way to avoid doing these steps 50 times: Create these agents manually by following all the steps here https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2

Copy a folder in particular one drive to users one drive using SharePoint site automatically

自作多情 提交于 2021-01-29 16:23:55
问题 Can I create a page in one site where when a user with access to the page will have a popup, the popup contains a few fields for the user to answer? When the popup is properly submitted, it will copy a folder in particular one drive to users one drive using the SharePoint site. it is possible, please share some resources to refer to creating the process. 来源: https://stackoverflow.com/questions/61477417/copy-a-folder-in-particular-one-drive-to-users-one-drive-using-sharepoint-site-a

Reverse test coverage [closed]

夙愿已清 提交于 2021-01-29 05:40:33
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I am looking for the way to automate the following task. Given the coverage report, find out which tests cover particular method / function. Even better if I can specify specific class and line number. The

TestNG Parallel Testing, Opens two browsers but runs all tests only in 1 browser

丶灬走出姿态 提交于 2021-01-29 05:11:31
问题 When I run this code, first it opens two Browsers ( Chrome ) and goes to the base URL. But here is the confusing part for me. When the browsers are open, out of these two browsers, only one browser will receive test commands. In my cases, I am running one class and this class has two test cases. but all of the test cases will run in one browser. 2nd browser just open and goes to the bases URL BASE CLASS : package com.cross.base; import io.github.bonigarcia.wdm.WebDriverManager; import org

Makefile and .Mak File + CodeBlocks and VStudio

混江龙づ霸主 提交于 2021-01-27 14:17:17
问题 I am a little new to the whole makefile concept so I have some questions regarding it. I am creating a project using CodeBlocks in linux, I used a tool called cbp2mak to create a .make file out of the CodeBlocks project (if anyone knows a better tool please let me know). Now I am not sure what the difference is between .mak and .makefile, could anyone tell me? I can compile .mak using "make -C .mak" but what is the difference? The reason im trying to use it is because I want provide the

How to trigger a Jenkins build on a Perforce submit

女生的网名这么多〃 提交于 2021-01-27 07:16:37
问题 I am using Jenkins with Perforce. I have downloaded the P4 Plugin, and I have read over the documentation but I am still a bit confused. In my Jenkins project, I have the build trigger set to "Perforce triggered build". I'm assuming that means I need to add a trigger to Perforce that tells Jenkins to run a build, but I have no idea on how to do that. I have not been able to find any documentation on how to implement a trigger from Perforce to notify Jenkins it needs to run. I can find

How to trigger a Jenkins build on a Perforce submit

 ̄綄美尐妖づ 提交于 2021-01-27 07:12:24
问题 I am using Jenkins with Perforce. I have downloaded the P4 Plugin, and I have read over the documentation but I am still a bit confused. In my Jenkins project, I have the build trigger set to "Perforce triggered build". I'm assuming that means I need to add a trigger to Perforce that tells Jenkins to run a build, but I have no idea on how to do that. I have not been able to find any documentation on how to implement a trigger from Perforce to notify Jenkins it needs to run. I can find

Force serial execution for specific targets in CMake

穿精又带淫゛_ 提交于 2020-08-27 22:25:52
问题 In my CMake project I have several targets which simply run a certain set of unit tests (for example, runTestsForA , runTestsForB and runTestsForC ). I also have a target, tests , that depends on all of these unit test targets, so I can run them with a single command. I'm using CLion is my IDE, which tries to use parallel make builds by default (which I want and am also doing on the Continuous Integration server). However, it looks like the tests are running in parallel too now and some tests