aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update _test_boilerplate.cmore-rtJoseph Hunkeler2024-10-301-2/+10
|
* Add tests/README.mdJoseph Hunkeler2024-10-301-0/+48
|
* Add RT boilerplateJoseph Hunkeler2024-10-301-0/+27
|
* Implement missing SKIP conditionsJoseph Hunkeler2024-10-301-7/+17
| | | | | * The not (bang) overrides the return code. Split the command from the if-statement to obtain the real code, not just true/false * Print the last n lines of the log only when there's something to print
* Fixes download testJoseph Hunkeler2024-10-301-4/+17
| | | | | * NGINX updated and changed the default error page source code * Look for "404" in the page contents
* Update location of test dataJoseph Hunkeler2024-10-301-2/+2
|
* Update RT tests to use run_command functionJoseph Hunkeler2024-10-302-16/+19
|
* Implement a runner (run_command) and generate a summary (run_summary) when ↵Joseph Hunkeler2024-10-301-2/+72
| | | | the script ends
* Exposes TOPDIR and TEST_DATA variables to test script(s)Joseph Hunkeler2024-10-301-1/+2
|
* generic_based_on.ini using TEST_DATA variable from the environment to find ↵Joseph Hunkeler2024-10-301-1/+1
| | | | yaml config
* Copy test data in bulkJoseph Hunkeler2024-10-301-6/+11
| | | | | * Detect RT scripts * Generalize file extension pattern use
* Add rt_generic_based_on.shJoseph Hunkeler2024-10-284-0/+106
| | | | * Tests the "based_on" key
* rt_generic: Use setup scriptJoseph Hunkeler2024-10-281-108/+27
|
* Add environment setup script to test directoryJoseph Hunkeler2024-10-281-0/+186
|
* Generalize *_index_provides interfaceJoseph Hunkeler2024-10-241-11/+18
| | | | | * Replaces conda_* and pip_* with pkg_index_provides * Because this function can fail in so many ways I've added pkg_index_provides_strerror() and a detection macro PKG_INDEX_PROVIDES_FAILED() to make things easier
* Update test_mp_fail_fastupdate-testsJoseph Hunkeler2024-10-221-2/+1
| | | | * macOS Actions runners have 3 vCPUs. No wonder this wasn't working. Reduce the success count to 1.
* Update test_mp_fail_fastJoseph Hunkeler2024-10-221-5/+11
| | | | * Brute force the conditions required to make this work. Issue 128 jobs.
* Update test_mp_fail_fastJoseph Hunkeler2024-10-221-7/+13
| | | | | * Record status(s) and just verify they're non-zero. Checking for exact values is difficult when you don't know the hardware ahead of time. * Apply HOLD state
* The CI internal clocks are off? I don't see why these failed.Joseph Hunkeler2024-10-211-7/+6
| | | | * Increasing sleep times might help.
* Add tests:Joseph Hunkeler2024-10-211-0/+72
| | | | | * test_envctl_init * test_envctl_register
* Add tests:Joseph Hunkeler2024-10-211-0/+82
| | | | | * test_mp_fail_fast * test_mp_stop_continue
* Add tests:Joseph Hunkeler2024-10-211-2/+52
| | | | | | | | | | | | | * test_pip_index_provides * test_conda_provides * test_conda_get_active_environment * test_delivery_gather_tool_versions Fix tests: * global.sysconfdir duplicates the environment string * Use delivery_free() * Use globals_free()
* Change signature:Joseph Hunkeler2024-10-211-0/+7
| | | | * delivery_gather_tool_versions now returns non-zero if unable to determine a tool's version
* Add BUILD_TESTING_RT build optionJoseph Hunkeler2024-10-211-1/+1
| | | | * The user can choose to (not) run the long scripted statis test(s)
* Rename "files" and "file_without_ext" to improve readabilityJoseph Hunkeler2024-10-211-13/+13
|
* Fix includesJoseph Hunkeler2024-10-148-0/+12
|
* Refactor directory structureJoseph Hunkeler2024-10-141-4/+7
| | | | | * Move core library sources into src/lib/core * Move command-line programs into src/cli
* Fix pointer castJoseph Hunkeler2024-10-091-1/+1
|
* Uncomment registry name in test configJoseph Hunkeler2024-10-041-1/+1
|
* Add wheel_free() to testwheel-funcs-clean-upJoseph Hunkeler2024-10-041-0/+1
|
* Implement get_wheel_info() in testsJoseph Hunkeler2024-10-041-2/+2
|
* Fix leaks in testsJoseph Hunkeler2024-09-302-0/+4
|
* Fix testJoseph Hunkeler2024-09-261-2/+2
| | | | * Queuing a task does not fork anymore, so the default state is now UNUSED
* Remove more references to the semaphore "gate"Joseph Hunkeler2024-09-261-3/+0
|
* Implement cmd and working_dirJoseph Hunkeler2024-09-261-2/+2
|
* Disable format-truncation and unused-result warnings in testsJoseph Hunkeler2024-09-201-2/+2
|
* Refactor structureJoseph Hunkeler2024-09-201-2/+2
| | | | * Break delivery.c into smaller components
* Finish mp_pool_init() testadd-multiprocessingJoseph Hunkeler2024-09-201-8/+31
| | | | * Not sure what I was going to do with that data array, but whatever it was, it was wrong.
* Fix test code and expected values within test codeJoseph Hunkeler2024-09-181-1/+1
| | | | * Errant undo operation!
* Fix syntax issue in rt_generic.shJoseph Hunkeler2024-09-181-1/+1
| | | | * line 106: [: missing `]'
* More testsJoseph Hunkeler2024-09-181-0/+30
|
* Rename mp_task to mp_pool_taskJoseph Hunkeler2024-09-181-1/+1
|
* Fix test status expectationJoseph Hunkeler2024-09-181-2/+2
| | | | * Fix child not returning result of execvp(). task->status is for program status, not fork() status.
* Add test_multiprocessing.cJoseph Hunkeler2024-09-181-0/+73
|
* Workaround for a bug in firewatchJoseph Hunkeler2024-09-181-1/+1
|
* Correct package nameJoseph Hunkeler2024-09-181-1/+1
|
* Update integration test to utilize the multiprocessing poolJoseph Hunkeler2024-09-182-5/+30
|
* Add test_environment.c (#39)Joseph Hunkeler2024-08-291-0/+76
|
* More tests (#36)Joseph Hunkeler2024-08-262-0/+133
| | | | | * Add test_copy.c * Add test_wheel.c
* CI add pandoc (and bug fixes) (#35)Joseph Hunkeler2024-08-201-0/+12
| | | | | | | | | * Fix pandoc command regression * Add space between destination and input * Add pandoc dependency * Dump output of indexed files