aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Align test dependencies with new minimum requirementsfix-docker-imageJoseph Hunkeler2026-08-032-4/+4
|
* Merge pull request #156 from jhunkeler/update-test-configsJoseph Hunkeler2026-07-316-9/+9
|\ | | | | Update test configs
| * Fix accidental "latest" in gbo_ng.iniupdate-test-configsJoseph Hunkeler2026-07-311-1/+1
| |
| * Update test configsJoseph Hunkeler2026-07-316-9/+9
| | | | | | | | | | * Python 3.11 -> 3.12 * Miniforge 24.3 -> 26.3
* | Update test_docker.c script test to use bashdocker-script-bashJoseph Hunkeler2026-07-311-1/+1
|/
* Make sure GBO tests build a wheelJoseph Hunkeler2026-07-272-2/+2
|
* Split RT tests from Unit testsJoseph Hunkeler2026-07-271-3/+19
| | | | | * Enable verbose output for RT side * Truncate huge skyscraper-length html output
* test_wheel.c: Update test structure to exclude workspace creationJoseph Hunkeler2026-07-271-28/+1
| | | | * Fix doubled call to enable headless mode
* Remove wheelinfo.c, wheelinfo.h, test_wheelinfo.cJoseph Hunkeler2026-07-271-91/+0
| | | | * And references
* Add WheelDisplay argument to wheel_show_info callJoseph Hunkeler2026-07-271-1/+3
|
* Add a namespace package to the test GBO input configsnamespace-wheel-namesJoseph Hunkeler2026-07-273-2/+22
|
* test_utils.c: rename filename to inputfileconda-updatesJoseph Hunkeler2026-06-231-4/+7
| | | | * Add test for known-uncompressed data file
* tests: add compression test dataJoseph Hunkeler2026-06-236-0/+1
|
* test_utils.c: addJoseph Hunkeler2026-06-231-0/+44
| | | | test_is_file_compressed()
* Add GBO test using a modern conda installerJoseph Hunkeler2026-06-222-0/+96
|
* Increase verbosity of the string testsJoseph Hunkeler2026-06-221-9/+46
|
* Update test_wheel.c to use conda_capababilities()Joseph Hunkeler2026-06-221-2/+4
|
* Update test_conda.c to use conda_capababilities()Joseph Hunkeler2026-06-221-30/+22
| | | | * Remove inner workspace direction creation (left over from before the test framework handled it)
* Replace __FUNCTION__ with __func__Joseph Hunkeler2026-06-222-2/+2
|
* tests: Do not print the reason message for tests that passed when a failure ↵Joseph Hunkeler2026-06-221-0/+1
| | | | occurs
* Update test_recipe.cJoseph Hunkeler2026-06-221-6/+6
|
* General fixes (#149)1.7.1Joseph Hunkeler2026-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix missing LF * Return when item is NULL * Explicitly state error condition * strlist_contains: Allow index result argument to be NULL * BUGFIX: strlist_contains now uses strstr instead of strcmp * The match was never intended to be exact * BUGFIX: log_msgv now prints a LF to the same stream as the message * BUGFIX: env_manipulate_pathstr PM_ONCE logic did opposite of what was intended * When strstr finds the path in the system path, it's supposed to free the new system path and exit. In this case it was freeing the path when the path wasn't found that lead to several instances of PATH not being updated correctly * Free result when shell_output fails * join: Fix segfault on memory error * join_ex: Fix leak on memory error * Initialize installer_url and python_override_version to zero * Remove redundant calls to memset
* Micromamba improvement (#148)1.7.0Joseph Hunkeler2026-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | * Update micromamba installation logic * Split installation from micromamba() into micromamba_install() * Return -1 when micromamba cannot be installed * Add stasis.ini option "indexer.micromamba_download_url" * Add global variable micromamba_download_url * The installation function attempts two known-good URLs by default * * Add indexer arugment '--micromamba-download-url' * Add is_file_compressed() function to utils * Call micromamba_install() from tests * Add space in usage statement * Fix usage output when option array contains arguments without short options * Add --micromamba-download-url to README.md
* Safe strings, finally (#145)Joseph Hunkeler2026-06-024-8/+6
| | | | | | | | * Add string copy and catonate replacements * safe_strncpy * safe_strncat * Replace string functions * gbo.ini: Update tweakwcs to 0.9.0 * generic.ini: Update tweakwcs to 0.9.0
* replace for-loop with while-loop since 'i' was unusedbughunt-1002Joseph Hunkeler2026-05-121-1/+1
|
* Replace __FUNCTION__ with __func__ (portable)Joseph Hunkeler2026-05-122-5/+5
|
* Replace void pointer with pointer to tplfunc_frame structureJoseph Hunkeler2026-05-121-1/+1
|
* Replace msg, perror, and fprintf with SYS message macrosuse-sys-macrosJoseph Hunkeler2026-05-114-26/+26
|
* Update SYS* macro callsJoseph Hunkeler2026-05-101-1/+1
|
* Fix up includesJoseph Hunkeler2026-05-101-0/+1
|
* Implement logging facility WARN, INFO, DEBUGJoseph Hunkeler2026-05-101-0/+1
| | | | | | | * The original macros have been updated * Default log level is WARN * Log level increases per `-v` CLI argument * Tests always use DEBUG level
* Merge pull request #141 from jhunkeler/use-stasis-bufsizJoseph Hunkeler2026-05-074-5/+5
|\ | | | | Replace BUFSIZ with STASIS_BUFSIZ
| * Replace BUFSIZ with STASIS_BUFSIZJoseph Hunkeler2026-05-074-5/+5
| |
* | Removed unused failed counterJoseph Hunkeler2026-05-041-1/+0
| |
* | Add test_version_compare.cJoseph Hunkeler2026-05-021-0/+173
| |
* | Fix verbosity of unit testsJoseph Hunkeler2026-05-021-10/+17
|/ | | | * PASS output was never supposed to be permanently toggled on
* Add download_dir member to MicroMambaInfo struct.Joseph Hunkeler2026-04-271-5/+5
| | | | * TMPDIR and hardcoded path is too unpredictable.
* pkg_index_provides: Add logdir argumentJoseph Hunkeler2026-04-271-2/+2
| | | | * mkdirs() the logdir
* Fix file handle leaksJoseph Hunkeler2026-04-261-0/+3
|
* test_fix_tox_conf: Check lines and resultJoseph Hunkeler2026-04-261-0/+2
|
* Restrict tests from finding STASIS's .git directoryJoseph Hunkeler2026-04-251-2/+7
|
* Fix assertion. count should be greater than zero.Joseph Hunkeler2026-04-241-2/+2
|
* NUL terminate after copyJoseph Hunkeler2026-04-243-0/+5
|
* Combine declaration and assignment of fpJoseph Hunkeler2026-04-231-2/+1
|
* test_file_readlines: close handle on errorJoseph Hunkeler2026-04-221-0/+1
|
* Fix incorrect usage of maxlen argument in snprintf callsJoseph Hunkeler2026-04-174-6/+8
|
* Remove sizeof callJoseph Hunkeler2026-04-161-1/+1
|
* Remove sizeof callJoseph Hunkeler2026-04-161-3/+2
|
* Convert more strcpy to strn variantJoseph Hunkeler2026-04-163-8/+7
|
* Convert more strcat and strcpy to strn variantsJoseph Hunkeler2026-04-161-4/+4
|