Skip to content

Commit

Permalink
Add complex.tests to coverage tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Dec 20, 2023
1 parent 2c8d9cd commit bc84833
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/all.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit bc84833

Please sign in to comment.