浏览代码

Allow to test python-build separately

pull/2464/head
Ivan Pozdeev 2 年前
父节点
当前提交
73d4f3102a
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. +6
    -2
      Makefile

+ 6
- 2
Makefile 查看文件

@ -1,11 +1,15 @@
.PHONY: test test-build
.PHONY: test test-build test-unit test-plugin
# Do not pass in user flags to build tests.
unexport PYTHON_CFLAGS
unexport PYTHON_CONFIGURE_OPTS
test: bats
test: test-unit test-plugin
test-unit: bats
PATH="./bats/bin:$$PATH" test/run
test-plugin: bats
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test
PYTHON_BUILD_ROOT := $(CURDIR)/plugins/python-build

正在加载...
取消
保存