1
1
mirror of https://github.com/wader/fq.git synced 2024-11-28 03:02:55 +03:00

build,test: Ignore some files to make ./... work

This commit is contained in:
Mattias Wadman 2024-04-21 09:50:02 +02:00
parent f746dab7b2
commit 6db6a54d13
4 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,5 @@
//go:build exclude
// tool to convert go fuzz input files to bytes // tool to convert go fuzz input files to bytes
// Usage: cat format/testdata/fuzz/FuzzFormats/144bde49b40c90fd05d302ec90b6ddb2b6d6aea553bad520a8b954797e40fe72 | go run dev/fuzzbytes.go | go run . // Usage: cat format/testdata/fuzz/FuzzFormats/144bde49b40c90fd05d302ec90b6ddb2b6d6aea553bad520a8b954797e40fe72 | go run dev/fuzzbytes.go | go run .
package main package main

View File

@ -1,3 +1,5 @@
//go:build exclude
package main package main
import ( import (

View File

@ -1,3 +1,9 @@
//go:build exclude
package bts2022
import "github.com/wader/fq/pkg/decode"
func avcHdrParameters(d *decode.D) { func avcHdrParameters(d *decode.D) {
cpbCnt := d.FieldUintFn("cpb_cnt", uEV, scalar.UAdd(1)) cpbCnt := d.FieldUintFn("cpb_cnt", uEV, scalar.UAdd(1))
d.FieldU4("bit_rate_scale") d.FieldU4("bit_rate_scale")

View File

@ -1,3 +1,7 @@
//go:build exclude
package bts2022
func decode(d *decode.D) any { func decode(d *decode.D) any {
d.FieldArray("headers", func(d *decode.D) { d.FieldArray("headers", func(d *decode.D) {
for !d.End() { for !d.End() {