From 5913e3c104c2aa34cc1eb21523419edb437373c4 Mon Sep 17 00:00:00 2001 From: cirakg Date: Mon, 26 Oct 2026 14:52:06 +0100 Subject: build: test on the Forerunner 70 only by default; ALL=1 for every device Unit tests, perf, memory, lint builds, screenshots and the watchdog test run on the owner's Forerunner 70 alone unless ALL=1 is given, which keeps runs and screenshot reviews short (8 instead of 65 minutes for the screenshots). make build defaults to the Forerunner 70 too. Co-Authored-By: Claude Opus 5.5 --- Makefile | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5cec7ba..d77125b 100644 --- a/Makefile +++ b/Makefile @@ -33,16 +33,26 @@ UV_VERSION := 0.13.1 # Connect IQ SDK installed by `make sdk`. SDK_VERSION ?= 9.2.0 # Device for `make build` and `make sim`. -DEVICE ?= fr255s -# Simulator test devices: weakest round MIP (buttons only), rectangular AMOLED, -# your Forerunner 70, and a large round AMOLED. +DEVICE ?= fr70 +# Test devices. By default only the owner's Forerunner 70: unit tests, perf, +# memory, lint builds, screenshots and the watchdog test all run on it alone, +# which keeps runs (and screenshot reviews) short. `make ALL=1` uses +# the full set below, for example before a release. +ALL ?= +ifeq ($(ALL),1) +# Weakest round MIP (buttons only), rectangular AMOLED, the Forerunner 70, +# and a large round AMOLED. TEST_DEVICES ?= fr255s venusq2 fr70 fr965 # Extra screenshot-only devices (README 14): MIP with touch and buttons, # buttons-only AMOLED, the largest rectangle. SPOT_DEVICES ?= fenix7 instinct3amoled45mm venux1 -# `make watchdog`: one device per watchdog class (120,000 and 240,000 -# bytecodes per event). +# One device per watchdog class (120,000 and 240,000 bytecodes per event). WATCHDOG_DEVICES ?= fr255s fr70 +else +TEST_DEVICES ?= fr70 +SPOT_DEVICES ?= +WATCHDOG_DEVICES ?= fr70 +endif # `make lock` only uses package releases published before this moment. LOCK_CUTOFF ?= 2026-10-01T00:00:00Z # Set to `nuke` to skip the confirmation prompt of `make nuke`. -- cgit v1.2.3