History log of /unit/test/unit/applications/lang/go.py (Results 1 – 25 of 25)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2330:4b1f175f9c88 21-Feb-2023 Andrei Zeliankou

Tests: switched to using f-strings.

Previously, it was necessary to support older versions of Python for
compatibility. F-strings were released in Python 3.6. Python 3.5 was
marked as unsupported

Tests: switched to using f-strings.

Previously, it was necessary to support older versions of Python for
compatibility. F-strings were released in Python 3.6. Python 3.5 was
marked as unsupported by the end of 2020, so now it's possible to start
using f-strings safely for better readability and performance.

show more ...


Revision tags: 1.29.0-1, 1.29.0
# 2263:f9f47ce86315 12-Dec-2022 Andrei Zeliankou

Tests: pretty output.

Hide expected alerts by default.
Silence succesfull "go build" information.


Revision tags: 1.28.0-1, 1.28.0
# 2144:b14caaedca5e 30-Jun-2022 Andrei Zeliankou

Tests: minor improvements.

Added "go" availability check before trying to build an application.

update_action() method used were possible and fixed bug with
the relative path determination in test_

Tests: minor improvements.

Added "go" availability check before trying to build an application.

update_action() method used were possible and fixed bug with
the relative path determination in test_static_chroot.py.

Templates optimization and style fixes.

show more ...


Revision tags: 1.27.0-1, 1.27.0
# 2073:bc6ad31ce286 11-Apr-2022 Andrei Zeliankou

Tests: style.


# 2062:ede07f84045b 10-Jan-2022 Max Romanov

Tests: using modules in Go.


Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0
# 2004:ca4c5855f139 15-Nov-2021 Andrei Zeliankou

Tests: refactored working with processes.


Revision tags: 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0
# 1880:00dc6b211906 25-May-2021 Max Romanov

Go: fixing tests for Go 1.16.

In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: http

Go: fixing tests for Go 1.16.

In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: https://golang.org/doc/go1.16

show more ...


Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0
# 1757:200f477978ab 21-Dec-2020 Tiago Natel de Moura

Tests: introduced a separate cache directory for Go builds.

The Go compiler can't detect changes to C header files when
compiling CGO applications, and then this leads to Go test
samples being linke

Tests: introduced a separate cache directory for Go builds.

The Go compiler can't detect changes to C header files when
compiling CGO applications, and then this leads to Go test
samples being linked with wrong libunit.

This patch creates a new cache directory reused throughout
the test suite.

show more ...


# 1730:44912af5b3e6 06-Dec-2020 Andrei Zeliankou

Tests: options moved to the separate class.

This change is necessary to separate the logic
and prevent possible circular dependency.


Revision tags: 1.21.0-1, 1.21.0
# 1706:a1da56837554 16-Nov-2020 Max Romanov

Tests: fixing tests interrupt in terminal.

KeyboardInterrupt re-raised.


# 1654:fc7d0578e124 19-Oct-2020 Andrei Zeliankou

Tests: fixed unit.log print.


Revision tags: 1.20.0-1, 1.20.0
# 1635:97afbb6c5a15 07-Oct-2020 Andrei Zeliankou

Tests: minor fixes.


# 1621:275b26bbd3ae 01-Oct-2020 Andrei Zeliankou

Tests: minor fixes.

Fixed temporary dir removing.
Fixed printing path to log.
Module checks moved to the separate file.


# 1596:b7e2d4d92624 16-Sep-2020 Andrei Zeliankou

Tests: migrated to the pytest.


Revision tags: 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0
# 1490:cecf6b11a1e3 28-May-2020 Tiago Natel de Moura

Tests: Added rootfs tests.


# 1477:b93d1acf81bd 15-May-2020 Andrei Zeliankou

Tests: style.


Revision tags: 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0
# 1388:375fcf0e75a7 10-Mar-2020 Andrei Zeliankou

Tests: redirect tests output to the stdout.


Revision tags: 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0
# 1315:e39345dacb8f 24-Dec-2019 Max Romanov

Go: installing go module for tests into build directory.


# 1303:248eeec4c272 11-Nov-2019 Tiago Natel

Tests: added support for testing "user" and "group".


Revision tags: 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0
# 1208:220272baa960 25-Sep-2019 Andrey Zelenkov

Tests: fixed hanging of Go tests.

This closes #319 issue on GitHub.


Revision tags: 1.11.0-2, 1.11.0-1, 1.11.0
# 1165:998b521bbdb8 14-Sep-2019 Andrey Zelenkov

Tests: refactored prerequisites model.


# 1164:2b4032299741 16-Sep-2019 Andrey Zelenkov

Tests: prepare_env() introduced.


Revision tags: 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0
# 1050:5b9ec6a8ae06 26-Apr-2019 Andrey Zelenkov

Tests: check application configuration loading.


# 1041:9bdd46610ea9 22-Apr-2019 Valentin Bartenev

Tests: using "pass" option instead of deprecated "application".


# 1019:61d90b4da691 28-Mar-2019 Andrey Zelenkov

Tests: unit module refactoring.