a/tests/run.sh | b/tests/run.sh | ||
---|---|---|---|
... |
... |
||
27 | # unit testing |
27 | # unit testing |
28 | # install doesn't work on drone atm. |
28 | # install doesn't work on drone atm. |
29 | #echo "*** Unit Test: install cfunit" |
29 | #echo "*** Unit Test: install cfunit" |
30 | #../codesys-ide/codesys install 'https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v1.1.0.0/v1.1.0.0.package?format=raw' |
30 | #../codesys-ide/codesys install 'https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v1.1.0.0/v1.1.0.0.package?format=raw' |
31 | echo "*** Unit Test: build test applications" |
31 | echo "*** Unit Test: build test applications" |
32 | ../codesys-ide/codesys buildtest |
32 | ../codesys-ide/codesys build-test |
33 | echo "*** Unit Test: run test w/o cfunit" |
33 | echo "*** Unit Test: run test w/o cfunit" |
34 | ../codesys-ide/codesyscontrol PRG_RUNTEST.library.app output.txt |
34 | ../codesys-ide/codesyscontrol PRG_RUNTEST.library.app output.txt |
35 | [ -f .drone-artifacts/output.txt ] |
35 | [ -f .drone-artifacts/output.txt ] |
36 | echo "*** Unit Test: run test w/ cfunit" |
36 | echo "*** Unit Test: run test w/ cfunit" |
37 | ../codesys-ide/codesyscontrol cfunit-example.library.app C:/cfunit_xunit_testresults.xml |
37 | ../codesys-ide/codesyscontrol cfunit-example.library.app C:/cfunit_xunit_testresults.xml |