From bc848336faa88e85f893dcc0aefef587f04b9ebf Mon Sep 17 00:00:00 2001 From: Liu Liu Date: Wed, 20 Dec 2023 00:33:01 -0500 Subject: [PATCH] Add complex.tests to coverage tests. --- test/all.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/all.mk b/test/all.mk index 305d49b2c..eb3c3af06 100644 --- a/test/all.mk +++ b/test/all.mk @@ -4,7 +4,7 @@ export LSAN_OPTIONS=suppressions=known-leaks.txt LDFLAGS := -L"../lib" -lccv $(LDFLAGS) CFLAGS := -O3 -Wall -I"../lib" -I"." $(CFLAGS) -SRCS := unit/util.tests.c unit/basic.tests.c unit/memory.tests.c unit/transform.tests.c unit/image_processing.tests.c unit/3rdparty.tests.c unit/algebra.tests.c unit/io.tests.c unit/nnc/gradient.tests.c unit/nnc/upsample.tests.c unit/nnc/palettize.tests.c unit/nnc/concat.tests.c unit/nnc/tensor.bind.tests.c unit/nnc/backward.tests.c unit/nnc/graph.tests.c unit/nnc/case_of.backward.tests.c unit/nnc/while.backward.tests.c unit/nnc/autograd.vector.tests.c unit/nnc/dropout.tests.c unit/nnc/custom.tests.c unit/nnc/reduce.tests.c unit/nnc/tfb.tests.c unit/nnc/batch.norm.tests.c unit/nnc/crossentropy.tests.c unit/nnc/cnnp.core.tests.c unit/nnc/symbolic.graph.tests.c unit/nnc/group.norm.tests.c unit/nnc/case_of.tests.c unit/nnc/micro.tests.c unit/nnc/compression.tests.c unit/nnc/transform.tests.c unit/nnc/dataframe.tests.c unit/nnc/gemm.tests.c unit/nnc/roi_align.tests.c unit/nnc/swish.tests.c unit/nnc/index.tests.c unit/nnc/minimize.tests.c unit/nnc/symbolic.graph.compile.tests.c unit/nnc/histogram.tests.c unit/nnc/rmsnorm.tests.c unit/nnc/autograd.tests.c unit/nnc/tensor.tests.c unit/nnc/rand.tests.c unit/nnc/while.tests.c unit/nnc/nms.tests.c unit/nnc/graph.io.tests.c unit/nnc/cblas.tests.c unit/nnc/simplify.tests.c unit/nnc/gelu.tests.c unit/nnc/numa.tests.c unit/nnc/loss.tests.c unit/nnc/tape.tests.c unit/nnc/dynamic.graph.tests.c unit/nnc/layer.norm.tests.c unit/nnc/parallel.tests.c unit/nnc/winograd.tests.c unit/nnc/dataframe.addons.tests.c unit/nnc/attention.tests.c unit/nnc/broadcast.tests.c unit/nnc/compare.tests.c unit/nnc/smooth_l1.tests.c unit/nnc/forward.tests.c unit/output.tests.c unit/convnet.tests.c unit/numeric.tests.c regression/defects.l0.1.tests.c int/nnc/cublas.tests.c int/nnc/mpsblas.tests.c int/nnc/upsample.tests.c int/nnc/palettize.tests.c int/nnc/concat.tests.c int/nnc/symbolic.graph.vgg.d.tests.c int/nnc/imdb.tests.c int/nnc/lstm.tests.c int/nnc/datatype.tests.c int/nnc/graph.vgg.d.tests.c int/nnc/reduce.tests.c int/nnc/leaky_relu.tests.c int/nnc/random.tests.c int/nnc/cnnp.core.tests.c int/nnc/compression.tests.c int/nnc/transform.tests.c int/nnc/roi_align.tests.c int/nnc/cudnn.tests.c int/nnc/swish.tests.c int/nnc/index.tests.c int/nnc/dense.net.tests.c int/nnc/cifar.tests.c int/nnc/rmsprop.tests.c int/nnc/sgd.tests.c int/nnc/nccl.tests.c int/nnc/tensor.tests.c int/nnc/nms.tests.c int/nnc/schedule.tests.c int/nnc/gelu.tests.c int/nnc/mpsdnn.tests.c int/nnc/loss.tests.c int/nnc/dynamic.graph.tests.c int/nnc/adam.tests.c int/nnc/parallel.tests.c int/nnc/compare.tests.c int/nnc/smooth_l1.tests.c int/nnc/lamb.tests.c +SRCS := unit/util.tests.c unit/basic.tests.c unit/memory.tests.c unit/transform.tests.c unit/image_processing.tests.c unit/3rdparty.tests.c unit/algebra.tests.c unit/io.tests.c unit/nnc/gradient.tests.c unit/nnc/upsample.tests.c unit/nnc/palettize.tests.c unit/nnc/concat.tests.c unit/nnc/tensor.bind.tests.c unit/nnc/backward.tests.c unit/nnc/graph.tests.c unit/nnc/case_of.backward.tests.c unit/nnc/while.backward.tests.c unit/nnc/autograd.vector.tests.c unit/nnc/dropout.tests.c unit/nnc/custom.tests.c unit/nnc/reduce.tests.c unit/nnc/tfb.tests.c unit/nnc/batch.norm.tests.c unit/nnc/crossentropy.tests.c unit/nnc/cnnp.core.tests.c unit/nnc/symbolic.graph.tests.c unit/nnc/group.norm.tests.c unit/nnc/case_of.tests.c unit/nnc/micro.tests.c unit/nnc/compression.tests.c unit/nnc/transform.tests.c unit/nnc/dataframe.tests.c unit/nnc/gemm.tests.c unit/nnc/roi_align.tests.c unit/nnc/complex.tests.c unit/nnc/swish.tests.c unit/nnc/index.tests.c unit/nnc/minimize.tests.c unit/nnc/symbolic.graph.compile.tests.c unit/nnc/histogram.tests.c unit/nnc/rmsnorm.tests.c unit/nnc/autograd.tests.c unit/nnc/tensor.tests.c unit/nnc/rand.tests.c unit/nnc/while.tests.c unit/nnc/nms.tests.c unit/nnc/graph.io.tests.c unit/nnc/cblas.tests.c unit/nnc/simplify.tests.c unit/nnc/gelu.tests.c unit/nnc/numa.tests.c unit/nnc/loss.tests.c unit/nnc/tape.tests.c unit/nnc/dynamic.graph.tests.c unit/nnc/layer.norm.tests.c unit/nnc/parallel.tests.c unit/nnc/winograd.tests.c unit/nnc/dataframe.addons.tests.c unit/nnc/attention.tests.c unit/nnc/broadcast.tests.c unit/nnc/compare.tests.c unit/nnc/smooth_l1.tests.c unit/nnc/forward.tests.c unit/output.tests.c unit/convnet.tests.c unit/numeric.tests.c regression/defects.l0.1.tests.c int/nnc/cublas.tests.c int/nnc/mpsblas.tests.c int/nnc/upsample.tests.c int/nnc/palettize.tests.c int/nnc/concat.tests.c int/nnc/symbolic.graph.vgg.d.tests.c int/nnc/imdb.tests.c int/nnc/lstm.tests.c int/nnc/datatype.tests.c int/nnc/graph.vgg.d.tests.c int/nnc/reduce.tests.c int/nnc/leaky_relu.tests.c int/nnc/random.tests.c int/nnc/cnnp.core.tests.c int/nnc/compression.tests.c int/nnc/transform.tests.c int/nnc/roi_align.tests.c int/nnc/cudnn.tests.c int/nnc/swish.tests.c int/nnc/index.tests.c int/nnc/dense.net.tests.c int/nnc/cifar.tests.c int/nnc/rmsprop.tests.c int/nnc/sgd.tests.c int/nnc/nccl.tests.c int/nnc/tensor.tests.c int/nnc/nms.tests.c int/nnc/schedule.tests.c int/nnc/gelu.tests.c int/nnc/mpsdnn.tests.c int/nnc/loss.tests.c int/nnc/dynamic.graph.tests.c int/nnc/adam.tests.c int/nnc/parallel.tests.c int/nnc/compare.tests.c int/nnc/smooth_l1.tests.c int/nnc/lamb.tests.c SRC_OBJS := $(patsubst %.c,%.o,$(SRCS)) @@ -118,6 +118,9 @@ unit/nnc/gemm.tests.o: unit/nnc/gemm.tests.c unit/nnc/roi_align.tests.o: unit/nnc/roi_align.tests.c $(CC) $< -D COVERAGE_TESTS -D CASE_DISABLE_MAIN -D CASE_TEST_DIR='"unit/nnc"' -o $@ -c $(CFLAGS) +unit/nnc/complex.tests.o: unit/nnc/complex.tests.c + $(CC) $< -D COVERAGE_TESTS -D CASE_DISABLE_MAIN -D CASE_TEST_DIR='"unit/nnc"' -o $@ -c $(CFLAGS) + unit/nnc/swish.tests.o: unit/nnc/swish.tests.c $(CC) $< -D COVERAGE_TESTS -D CASE_DISABLE_MAIN -D CASE_TEST_DIR='"unit/nnc"' -o $@ -c $(CFLAGS)