mirror of https://github.com/openXC7/prjxray.git
Merge pull request #740 from mithro/kokoro-run-info
Update info file on CI
This commit is contained in:
commit
c7d7e9d7ad
|
|
@ -77,7 +77,9 @@ echo "----------------------------------------"
|
||||||
# Check the database
|
# Check the database
|
||||||
#make checkdb-${XRAY_SETTINGS} || true
|
#make checkdb-${XRAY_SETTINGS} || true
|
||||||
# Format the database
|
# Format the database
|
||||||
make formatdb-${XRAY_SETTINGS}
|
make db-format-${XRAY_SETTINGS}
|
||||||
|
# Update the database/Info.md file
|
||||||
|
make db-info
|
||||||
|
|
||||||
# Output if the database has differences
|
# Output if the database has differences
|
||||||
echo
|
echo
|
||||||
|
|
@ -139,7 +141,7 @@ echo "----------------------------------------"
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
|
|
||||||
# Check the database and fail if it is broken.
|
# Check the database and fail if it is broken.
|
||||||
make checkdb-${XRAY_SETTINGS}
|
make db-check-${XRAY_SETTINGS}
|
||||||
|
|
||||||
# If we get here, then all the fuzzers completed fine. Hence we are
|
# If we get here, then all the fuzzers completed fine. Hence we are
|
||||||
# going to assume we don't want to keep all the build / logs / etc (as
|
# going to assume we don't want to keep all the build / logs / etc (as
|
||||||
|
|
|
||||||
23
Makefile
23
Makefile
|
|
@ -79,36 +79,39 @@ define database
|
||||||
|
|
||||||
# $(1) - Database name
|
# $(1) - Database name
|
||||||
|
|
||||||
checkdb-$(1):
|
db-check-$(1):
|
||||||
@echo
|
@echo
|
||||||
@echo "Checking $(1) database"
|
@echo "Checking $(1) database"
|
||||||
@echo "============================"
|
@echo "============================"
|
||||||
@$(IN_ENV) python3 utils/checkdb.py --db-root database/$(1)
|
@$(IN_ENV) python3 utils/db-check.py --db-root database/$(1)
|
||||||
|
|
||||||
formatdb-$(1):
|
db-format-$(1):
|
||||||
@echo
|
@echo
|
||||||
@echo "Formatting $(1) database"
|
@echo "Formatting $(1) database"
|
||||||
@echo "============================"
|
@echo "============================"
|
||||||
@$(IN_ENV) cd database/$(1); python3 ../../utils/sort_db.py
|
@$(IN_ENV) cd database/$(1); python3 ../../utils/sort_db.py
|
||||||
@if [ -e database/Info.md ]; then $(IN_ENV) ./utils/info_md.py --keep; fi
|
@if [ -e database/Info.md ]; then $(IN_ENV) ./utils/info_md.py --keep; fi
|
||||||
|
|
||||||
.PHONY: checkdb-$(1) formatdb-$(1)
|
.PHONY: db-check-$(1) db-format-$(1)
|
||||||
.NOTPARALLEL: checkdb-$(1) formatdb-$(1)
|
.NOTPARALLEL: db-check-$(1) db-format-$(1)
|
||||||
|
|
||||||
checkdb: checkdb-$(1)
|
db-check: db-check-$(1)
|
||||||
formatdb: formatdb-$(1)
|
db-format: db-format-$(1)
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach DB,$(DATABASES),$(eval $(call database,$(DB))))
|
$(foreach DB,$(DATABASES),$(eval $(call database,$(DB))))
|
||||||
|
|
||||||
checkdb:
|
db-check:
|
||||||
@true
|
@true
|
||||||
|
|
||||||
formatdb:
|
db-format:
|
||||||
@true
|
@true
|
||||||
|
|
||||||
.PHONY: checkdb formatdb
|
db-info:
|
||||||
|
$(IN_ENV) ./utils/info_md.py
|
||||||
|
|
||||||
|
.PHONY: db-check db-format
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C database clean
|
$(MAKE) -C database clean
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue