Initial Commit
- initial default booting image
This commit is contained in:
15
package/bats-assert/Config.in
Normal file
15
package/bats-assert/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_BATS_ASSERT
|
||||
bool "bats-assert"
|
||||
select BR2_PACKAGE_BATS_SUPPORT # runtime
|
||||
help
|
||||
bats-assert is a helper library providing common assertions
|
||||
for Bats.
|
||||
|
||||
In the context of this project, an assertion is a function
|
||||
that perform a test and returns 1 on failure or 0 on success.
|
||||
To make debugging easier, the assertion also outputs relevant
|
||||
information on failure. The output is formatted for
|
||||
readability. To make assertions usable outside of @test
|
||||
blocks, the output is sent to stderr.
|
||||
|
||||
https://github.com/bats-core/bats-assert
|
||||
5
package/bats-assert/bats-assert.hash
Normal file
5
package/bats-assert/bats-assert.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 7ea3b60f495a3c4fbaeb933f81050749917d7dcff00ffdd821779ed211b87cc2 bats-assert-2.2.0.tar.gz
|
||||
|
||||
# License files
|
||||
sha256 36ffd9dc085d529a7e60e1276d73ae5a030b020313e6c5408593a6ae2af39673 LICENSE
|
||||
18
package/bats-assert/bats-assert.mk
Normal file
18
package/bats-assert/bats-assert.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# bats-assert
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BATS_ASSERT_VERSION = 2.2.0
|
||||
BATS_ASSERT_SITE = $(call github,bats-core,bats-assert,v$(BATS_ASSERT_VERSION))
|
||||
BATS_ASSERT_LICENSE = CC0-1.0
|
||||
BATS_ASSERT_LICENSE_FILES = LICENSE
|
||||
|
||||
define BATS_ASSERT_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/bats/bats-assert/src
|
||||
$(INSTALL) -m 0755 $(@D)/*.bash -t $(TARGET_DIR)/usr/lib/bats/bats-assert
|
||||
$(INSTALL) -m 0755 $(@D)/src/*.bash -t $(TARGET_DIR)/usr/lib/bats/bats-assert/src
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user