mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 15:09:45 -08:00
Merge pull request #2245 from prometheus/fish-fix-e2e-64k-page-output
Check 64k-page e2e fixtures
This commit is contained in:
commit
98889b3705
6
Makefile
6
Makefile
|
@ -60,12 +60,13 @@ endif
|
||||||
|
|
||||||
PROMU := $(FIRST_GOPATH)/bin/promu --config $(PROMU_CONF)
|
PROMU := $(FIRST_GOPATH)/bin/promu --config $(PROMU_CONF)
|
||||||
|
|
||||||
|
e2e-out-64k-page = collector/fixtures/e2e-64k-page-output.txt
|
||||||
e2e-out = collector/fixtures/e2e-output.txt
|
e2e-out = collector/fixtures/e2e-output.txt
|
||||||
ifeq ($(MACH), ppc64le)
|
ifeq ($(MACH), ppc64le)
|
||||||
e2e-out = collector/fixtures/e2e-64k-page-output.txt
|
e2e-out = $(e2e-out-64k-page)
|
||||||
endif
|
endif
|
||||||
ifeq ($(MACH), aarch64)
|
ifeq ($(MACH), aarch64)
|
||||||
e2e-out = collector/fixtures/e2e-64k-page-output.txt
|
e2e-out = $(e2e-out-64k-page)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# 64bit -> 32bit mapping for cross-checking. At least for amd64/386, the 64bit CPU can execute 32bit code but not the other way around, so we don't support cross-testing upwards.
|
# 64bit -> 32bit mapping for cross-checking. At least for amd64/386, the 64bit CPU can execute 32bit code but not the other way around, so we don't support cross-testing upwards.
|
||||||
|
@ -123,6 +124,7 @@ skip-test-e2e:
|
||||||
checkmetrics: $(PROMTOOL)
|
checkmetrics: $(PROMTOOL)
|
||||||
@echo ">> checking metrics for correctness"
|
@echo ">> checking metrics for correctness"
|
||||||
./checkmetrics.sh $(PROMTOOL) $(e2e-out)
|
./checkmetrics.sh $(PROMTOOL) $(e2e-out)
|
||||||
|
./checkmetrics.sh $(PROMTOOL) $(e2e-out-64k-page)
|
||||||
|
|
||||||
.PHONY: checkrules
|
.PHONY: checkrules
|
||||||
checkrules: $(PROMTOOL)
|
checkrules: $(PROMTOOL)
|
||||||
|
|
Loading…
Reference in a new issue