a/tests/run.sh b/tests/run.sh
...
...
20
    echo "*** Library: Export Documentation"
20
    echo "*** Library: Export Documentation"
21
    ../codesys-ide/codesys export-documentation
21
    ../codesys-ide/codesys export-documentation
22
    echo "*** Library: Generate package manifest"
22
    echo "*** Library: Generate package manifest"
23
    ../codesys-ide/codesys gen-package-manifest
23
    ../codesys-ide/codesys gen-package-manifest
24
    echo "*** Library: Build Package"
24
    echo "*** Library: Build Package"
25
    ../codesys-ide/codesys build-package
25
    ../codesys-ide/codesys build-package
26
27
    # unit testing
28
    echo "*** Unit Test: install cfunit"
29
    ../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
    echo "*** Unit Test: build test applications"
31
    ../codesys-ide/codesys buildtest
32
    echo "*** Unit Test: run test w/o cfunit"
33
    ../codesys-ide/codesyscontrol PRG_RUNTEST.library.app output.txt
34
    [ -f .drone-artifacts/output.txt ]
35
    echo "*** Unit Test: run test w/ cfunit"
36
    ../codesys-ide/codesyscontrol cfunit-example.library.app C:/cfunit_xunit_testresults.xml
37
    [ -f .drone-artifacts/C:/cfunit_xunit_testresults.xml ]
26
)
38
)
27
39
28
echo "*** SUCCESS"
40
echo "*** SUCCESS"