Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused code | Joseph Hunkeler | 2024-11-02 | 1 | -2/+0 |
| | |||||
* | Squelch shell's pushd/popd commands | Joseph Hunkeler | 2024-11-02 | 1 | -0/+8 |
| | |||||
* | Add missing doc parameter | Joseph Hunkeler | 2024-11-02 | 1 | -0/+1 |
| | |||||
* | Combine initializer with declaration | Joseph Hunkeler | 2024-11-02 | 2 | -8/+5 |
| | |||||
* | Return shell() directly | Joseph Hunkeler | 2024-11-02 | 1 | -3/+1 |
| | | | | * The status variable is redundant | ||||
* | Bug fixes: | Joseph Hunkeler | 2024-11-02 | 4 | -9/+38 |
| | | | | | | | | * Remove PATH modification from check_pathvar * Rename check_pathvar to check_system_path * Add conda_prepend_bin function to handle PATH modification during activation * Add logic to handle first-run activation, and subsequent calls to change conda environments (otherwise conda clobbers its own shell functions) * Use $CONDA_PYTHON_EXE and $CONDA_EXE to ensure conda comes from the just-installed tree | ||||
* | Initialize structs to {0} and combine declaration and assignment where possible | Joseph Hunkeler | 2024-11-01 | 30 | -220/+141 |
| | |||||
* | Add missing parameters to docstrings | Joseph Hunkeler | 2024-11-01 | 1 | -0/+3 |
| | |||||
* | Support automatic workspace setup/teardown | Joseph Hunkeler | 2024-11-01 | 1 | -7/+87 |
| | | | | * inline the code (its a header library) | ||||
* | Change mock delivery name to be more unique | Joseph Hunkeler | 2024-11-01 | 1 | -1/+1 |
| | |||||
* | Change default RT workspace directory path | Joseph Hunkeler | 2024-11-01 | 1 | -1/+1 |
| | |||||
* | Tests: Force the removal of podman containers | Joseph Hunkeler | 2024-11-01 | 1 | -1/+11 |
| | |||||
* | Fix SYSERROR macro | Joseph Hunkeler | 2024-11-01 | 1 | -1/+1 |
| | | | | * "info" was always printed instead of the errno string. Now it prints the error and returns "info" on "Success" | ||||
* | Replace initialize character arrays using {0} instead of memset | Joseph Hunkeler | 2024-11-01 | 15 | -78/+41 |
| | |||||
* | Merge pull request #66 from jhunkeler/order-matters | Joseph Hunkeler | 2024-10-31 | 2 | -4/+2 |
|\ | | | | | BUG: Order matters | ||||
| * | Remote PATH= definition in commandorder-matters | Joseph Hunkeler | 2024-10-31 | 1 | -3/+1 |
| | | | | | | | | * check_pathvar was the culprit | ||||
| * | Move check_pathvar | Joseph Hunkeler | 2024-10-31 | 1 | -1/+1 |
|/ | | | | * This needed to be one line up, otherwise the next function would not be able to import conda | ||||
* | Merge pull request #65 from jhunkeler/more-rt | Joseph Hunkeler | 2024-10-30 | 13 | -115/+514 |
|\ | | | | | More RT | ||||
| * | Update _test_boilerplate.cmore-rt | Joseph Hunkeler | 2024-10-30 | 1 | -2/+10 |
| | | |||||
| * | Add tests/README.md | Joseph Hunkeler | 2024-10-30 | 1 | -0/+48 |
| | | |||||
| * | Add RT boilerplate | Joseph Hunkeler | 2024-10-30 | 1 | -0/+27 |
| | | |||||
| * | Implement missing SKIP conditions | Joseph Hunkeler | 2024-10-30 | 1 | -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 test | Joseph Hunkeler | 2024-10-30 | 1 | -4/+17 |
| | | | | | | | | | | * NGINX updated and changed the default error page source code * Look for "404" in the page contents | ||||
| * | Update location of test data | Joseph Hunkeler | 2024-10-30 | 1 | -2/+2 |
| | | |||||
| * | Update RT tests to use run_command function | Joseph Hunkeler | 2024-10-30 | 2 | -16/+19 |
| | | |||||
| * | Implement a runner (run_command) and generate a summary (run_summary) when ↵ | Joseph Hunkeler | 2024-10-30 | 1 | -2/+72 |
| | | | | | | | | the script ends | ||||
| * | Exposes TOPDIR and TEST_DATA variables to test script(s) | Joseph Hunkeler | 2024-10-30 | 1 | -1/+2 |
| | | |||||
| * | generic_based_on.ini using TEST_DATA variable from the environment to find ↵ | Joseph Hunkeler | 2024-10-30 | 1 | -1/+1 |
| | | | | | | | | yaml config | ||||
| * | Copy test data in bulk | Joseph Hunkeler | 2024-10-30 | 1 | -6/+11 |
| | | | | | | | | | | * Detect RT scripts * Generalize file extension pattern use | ||||
| * | Re-enable regression tests | Joseph Hunkeler | 2024-10-28 | 1 | -0/+1 |
| | | |||||
| * | Add rt_generic_based_on.sh | Joseph Hunkeler | 2024-10-28 | 4 | -0/+106 |
| | | | | | | | | * Tests the "based_on" key | ||||
| * | Workaround for latest conda regression | Joseph Hunkeler | 2024-10-28 | 1 | -1/+3 |
| | | | | | | | | | | * profile.d/{conda,mamba}.sh don't set PATH so "import conda" and "import mamba" fail when conda is invoked. Fantastic. * Put conda's python interpreter on the PATH before using conda for the first time | ||||
| * | rt_generic: Use setup script | Joseph Hunkeler | 2024-10-28 | 1 | -108/+27 |
| | | |||||
| * | Add environment setup script to test directory | Joseph Hunkeler | 2024-10-28 | 1 | -0/+186 |
|/ | |||||
* | Merge pull request #64 from jhunkeler/combine-provides | Joseph Hunkeler | 2024-10-25 | 8 | -108/+180 |
|\ | | | | | Combine functions: pip_index_provides and conda_index_provides | ||||
| * | Strip the version spec off of the package name if presentcombine-provides | Joseph Hunkeler | 2024-10-24 | 1 | -3/+15 |
| | | |||||
| * | Fix regression: | Joseph Hunkeler | 2024-10-24 | 1 | -34/+45 |
| | | | | | | | | | | * Wheels are only built now if they appear in the pip_packages_deferred list. * Strip the version spec off of the package name if present | ||||
| * | Change signature of check_pathvar() | Joseph Hunkeler | 2024-10-24 | 2 | -2/+2 |
| | | | | | | | | * From (char *) to (void) | ||||
| * | Move fd initializer down | Joseph Hunkeler | 2024-10-24 | 1 | -2/+2 |
| | | |||||
| * | Generalize *_index_provides interface | Joseph Hunkeler | 2024-10-24 | 4 | -67/+116 |
|/ | | | | | * 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 | ||||
* | Merge pull request #63 from jhunkeler/update-tests | Joseph Hunkeler | 2024-10-22 | 12 | -36/+298 |
|\ | | | | | Update tests / Bug fixes | ||||
| * | Update test_mp_fail_fastupdate-tests | Joseph Hunkeler | 2024-10-22 | 1 | -2/+1 |
| | | | | | | | | * macOS Actions runners have 3 vCPUs. No wonder this wasn't working. Reduce the success count to 1. | ||||
| * | Update test_mp_fail_fast | Joseph Hunkeler | 2024-10-22 | 1 | -5/+11 |
| | | | | | | | | * Brute force the conditions required to make this work. Issue 128 jobs. | ||||
| * | Update test_mp_fail_fast | Joseph Hunkeler | 2024-10-22 | 1 | -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 | ||||
| * | mp_pool_show_summary now prints "HOLD" when queued tasks haven't been ↵ | Joseph Hunkeler | 2024-10-22 | 1 | -1/+7 |
| | | | | | | | | executed and the pool is killed | ||||
| * | Add MP_POOL_TASK_STATUS_INITIAL | Joseph Hunkeler | 2024-10-22 | 2 | -2/+5 |
| | | | | | | | | * Better than putting -1 everywhere | ||||
| * | The CI internal clocks are off? I don't see why these failed. | Joseph Hunkeler | 2024-10-21 | 1 | -7/+6 |
| | | | | | | | | * Increasing sleep times might help. | ||||
| * | Add tests: | Joseph Hunkeler | 2024-10-21 | 1 | -0/+72 |
| | | | | | | | | | | * test_envctl_init * test_envctl_register | ||||
| * | Add tests: | Joseph Hunkeler | 2024-10-21 | 1 | -0/+82 |
| | | | | | | | | | | * test_mp_fail_fast * test_mp_stop_continue | ||||
| * | Add tests: | Joseph Hunkeler | 2024-10-21 | 1 | -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() |