1
1
mirror of https://github.com/wader/fq.git synced 2024-11-22 15:45:45 +03:00

midi: added midi to the TestFormats all.fqtest list (cf. https://github.com/wader/fq/pull/1004#issuecomment-2314599567)

This commit is contained in:
twystd 2024-08-28 14:33:44 -07:00
parent f424936faa
commit 7950dd651f
2 changed files with 9 additions and 3 deletions

View File

@ -127,6 +127,7 @@ macho Mach-O macOS executable
macho_fat Fat Mach-O macOS executable (multi-architecture)
markdown Markdown
matroska Matroska file
midi Standard MIDI file
moc3 MOC3 file
mp3 MP3 file
mp3_frame MPEG audio layer 3 frame

View File

@ -1,8 +1,9 @@
# Invoke make from fq root folder
#
# e.g. make -f format/midi/testdata/Makefile midi
# e.g. make -f format/midi/testdata/Makefile all
.PHONY: build
.PHONY: lint
build:
go fmt ./format/midi/...
@ -13,14 +14,18 @@ run: build
debug: build
# go run . -d midi dv format/midi/workdir/15ba2fe0cd4bf33a.mid
go run . -d midi dv format/midi/testdata/unknown-chunks.mid
# go run . -d midi dv format/midi/testdata/unknown-chunks.mid
go test ./format -run TestFormats/all/all.fqtest
test: build
go test ./format -run TestFormats/midi
lint: test
lint:
make -f Makefile lint
all: test lint
make -f Makefile test
regenerate: build
go test ./format -run TestFormats/midi -update