[ https://issues.apache.org/jira/browse/MINIFICPP-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Hunyadi updated MINIFICPP-1276: ------------------------------------ Description: *Background:* Running tests on MiNiFi currently leaves untracked files in the working directory. {code:bash|title=Test example generating untracked files} adam@amarkovics-Linux:~/work/minifi-cpp/build$ git st On branch MINIFICPP-1183 Your branch is up to date with 'origin/MINIFICPP-1183'. nothing to commit, working tree clean adam@amarkovics-Linux:~/work/minifi-cpp/build$ ctest -j24 -R CAPITests Test project /home/adam/work/minifi-cpp/build Start 30: CAPITests 1/1 Test #30: CAPITests ........................ Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 0.01 secadam@amarkovics-Linux:~/work/minifi-cpp/build$ git st On branch MINIFICPP-1183Your branch is up to date with 'origin/MINIFICPP-1183'. Untracked files: (use "git add <file>..." to include in what will be committed) \ ../libminifi/test/1593438783981-9 nothing added to commit but untracked files present (use "git add" to track) {code} *Proposal:* There are utility functions available that create temporary directories for all target platforms. Change the tests so that they use this functionality. was: {{adam@amarkovics-Linux:~/work/minifi-cpp/build$ git st}} {{On branch MINIFICPP-1183}} {{Your branch is up to date with 'origin/MINIFICPP-1183'.}} {{nothing to commit, working tree clean}} {{adam@amarkovics-Linux:~/work/minifi-cpp/build$ ctest -j24 -R CAPITests}} {{Test project /home/adam/work/minifi-cpp/build}} {{Start 30: CAPITests}} {{1/1 Test #30: CAPITests ........................ Passed 0.01 sec}} {{100% tests passed, 0 tests failed out of 1}} {{Total Test time (real) = 0.01}} {{secadam@amarkovics-Linux:~/work/minifi-cpp/build$ git st}} {{On branch MINIFICPP-1183Your branch is up to date with 'origin/MINIFICPP-1183'.}} {{Untracked files: (use "git add <file>..." to include in what will be committed)}} {{ ../libminifi/test/1593438783981-9}} {{nothing added to commit but untracked files present (use "git add" to track)}} > CAPITests should not leave any trash after running > -------------------------------------------------- > > Key: MINIFICPP-1276 > URL: https://issues.apache.org/jira/browse/MINIFICPP-1276 > Project: Apache NiFi MiNiFi C++ > Issue Type: Bug > Reporter: Ádám Markovics > Assignee: Ádám Markovics > Priority: Major > > *Background:* > Running tests on MiNiFi currently leaves untracked files in the working > directory. > {code:bash|title=Test example generating untracked files} > adam@amarkovics-Linux:~/work/minifi-cpp/build$ git st > On branch MINIFICPP-1183 > Your branch is up to date with 'origin/MINIFICPP-1183'. > nothing to commit, working tree clean > adam@amarkovics-Linux:~/work/minifi-cpp/build$ ctest -j24 -R CAPITests > Test project /home/adam/work/minifi-cpp/build > Start 30: CAPITests > 1/1 Test #30: CAPITests ........................ Passed 0.01 sec > 100% tests passed, 0 tests failed out of 1 > Total Test time (real) = 0.01 > secadam@amarkovics-Linux:~/work/minifi-cpp/build$ git st > On branch MINIFICPP-1183Your branch is up to date with > 'origin/MINIFICPP-1183'. > Untracked files: (use "git add <file>..." to include in what will be > committed) > \ ../libminifi/test/1593438783981-9 > nothing added to commit but untracked files present (use "git add" to track) > {code} > *Proposal:* > There are utility functions available that create temporary directories for > all target platforms. Change the tests so that they use this functionality. -- This message was sent by Atlassian Jira (v8.3.4#803005)