X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=12bd20971a782cb51227fad5d9d09099292d318a;hp=1797de0086cb2c05b6a8fa88be6d452f44199436;hb=696fae62e66f803a759afc004c3657ee84420bfe;hpb=5f8a5bfd39feb9822bb6184955a3653f4ef11dc9 diff --git a/Makefile b/Makefile index 1797de0..12bd209 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,17 @@ LDFLAGS += -fprofile-arcs -ftest-coverage endif DEMO_OBJS=demo.o -TESTS=effect_chain_test mix_effect_test gamma_expansion_effect_test gamma_compression_effect_test saturation_effect_test deconvolution_sharpen_effect_test + +# Unit tests. +TESTS=effect_chain_test +TESTS += mix_effect_test +TESTS += gamma_expansion_effect_test +TESTS += gamma_compression_effect_test +TESTS += colorspace_conversion_effect_test +TESTS += saturation_effect_test +TESTS += deconvolution_sharpen_effect_test +TESTS += blur_effect_test +TESTS += unsharp_mask_effect_test # Core. LIB_OBJS=util.o widgets.o effect.o effect_chain.o @@ -59,10 +69,16 @@ gamma_expansion_effect_test: gamma_expansion_effect_test.o $(TEST_OBJS) libmovit $(CXX) -o $@ $^ $(LDFLAGS) gamma_compression_effect_test: gamma_compression_effect_test.o $(TEST_OBJS) libmovit.a $(CXX) -o $@ $^ $(LDFLAGS) +colorspace_conversion_effect_test: colorspace_conversion_effect_test.o $(TEST_OBJS) libmovit.a + $(CXX) -o $@ $^ $(LDFLAGS) saturation_effect_test: saturation_effect_test.o $(TEST_OBJS) libmovit.a $(CXX) -o $@ $^ $(LDFLAGS) deconvolution_sharpen_effect_test: deconvolution_sharpen_effect_test.o $(TEST_OBJS) libmovit.a $(CXX) -o $@ $^ $(LDFLAGS) +blur_effect_test: blur_effect_test.o $(TEST_OBJS) libmovit.a + $(CXX) -o $@ $^ $(LDFLAGS) +unsharp_mask_effect_test: unsharp_mask_effect_test.o $(TEST_OBJS) libmovit.a + $(CXX) -o $@ $^ $(LDFLAGS) OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(TEST_OBJS) $(TESTS:=.o)