tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
604 stars 188 forks source link

Makefile recursively finds unit-tests (#426) #427

Closed neildavis closed 2 years ago

neildavis commented 2 years ago

Fixes #426

This commit modifies how the Makefile selects dirs for the unit-test target Instead of assuming all dirs have tests and manually excluding those that don't, it now recursively finds all dirs containing files with names matching "*_test.go"

A manual exclusion list is maintained for operational use.

deadprogram commented 2 years ago

This seems like an excellent idea to me. Can you please resolve merge conflict?

neildavis commented 2 years ago

This seems like an excellent idea to me. Can you please resolve merge conflict?

Thanks. Done.

deadprogram commented 2 years ago

Thanks for working on this @neildavis now merging.