Lars Wirzenius
|
84ed4678d8
|
refactor: use _create_git_repo
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
b252e87e0a
|
refactor: rename _ci to _create_ci
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
eecbd7084a
|
refactor: add helper method to get repository rid and head commit
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
ef1f1bb092
|
refactor: add helper method to create a valid native.yaml
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
20fab34125
|
refactor: add helper method to create a git repository
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
a8fc705087
|
refactor: drop dead code
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
a99dec5007
|
tests: config file missing
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
ca657dbf9a
|
tests: verify error message mentions shell and string
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
f4aa9e9977
|
tests: check "shell" is mentioned in stderr
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
453c741570
|
tests: check env var is mentioned in stderr
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
f42eee12e9
|
refactor: return stderr from NativeCI.run
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
e1f1e94b92
|
refactor(test-suite): make primitives that are easier to adapt
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
fbd9cc96d6
|
test case: no RADICLE_NATIVE_CI set in environment
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|
Lars Wirzenius
|
ba301ead4e
|
tests: add test suite implemented as a Python program
Signed-off-by: Lars Wirzenius <liw@liw.fi>
|
2024-01-10 17:38:05 +02:00 |
|