aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-13 20:26:21 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-13 20:27:17 +0000
commitd778e9e902572fd3796038944008a2ddd255d0da (patch)
tree074a674dabe542513fa9c05877be4495f31b51ff /misc
parent7617588b2cc56b2394a18f070d9c443fb38d1ac4 (diff)
Diffstat (limited to 'misc')
-rw-r--r--misc/py-ag2/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/misc/py-ag2/Makefile b/misc/py-ag2/Makefile
index c23036497ac6..f71ccebe84e7 100644
--- a/misc/py-ag2/Makefile
+++ b/misc/py-ag2/Makefile
@@ -39,11 +39,13 @@ GH_TAGNAME= v${DISTVERSION}
NO_ARCH= yes
+TEST_ENV= ${MAKE_ENV} PATH=${WRKDIR}/.bin:${PATH} \
+ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${WRKSRC}
+
# The upstream test suite requires many optional providers and network access.
# Run only the core tests for now that pass without optional extras.
-TEST_ARGS= --ignore=test/mcp \
- --ignore=test/beta/tools/sandbox/adapter/test_code_adapter.py \
- --ignore=test/beta/tools/skills/test_toolkit.py \
+TEST_ARGS= -p no:relaxed \
+ --ignore=test/mcp \
test/test_import_utils.py \
test/test_json_utils.py \
test/test_llm_config.py \
@@ -63,6 +65,10 @@ TEST_ARGS= --ignore=test/mcp \
test/beta \
test/logger
-# tests as of 0.14.0: 3300 passed, 424 skipped, 2 xfailed, 15 warnings in 29.66s
+pre-test:
+ @${MKDIR} ${WRKDIR}/.bin
+ @${LN} -sf ${PYTHON_CMD} ${WRKDIR}/.bin/python
+
+# tests as of 0.14.0: 3602 passed, 356 skipped, 2 xfailed, 36 warnings in 46.84s
.include <bsd.port.mk>