X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=b9b66f4b8aa47fde0606c1f7c0978a593f39512a;hp=8396ac6c5170e2f6be7963d2cd258261e76d17b2;hb=ba6838ec8b6fb972ccda17b3e6be6e793a4157a3;hpb=29072985d0a00a53e5b578a1444cee61a0c9e1f2 diff --git a/Makefile b/Makefile index 8396ac6..b9b66f4 100644 --- a/Makefile +++ b/Makefile @@ -31,9 +31,12 @@ DEMO_OBJS=demo.o # Unit tests. TESTS=effect_chain_test TESTS += mix_effect_test +TESTS += overlay_effect_test TESTS += gamma_expansion_effect_test TESTS += gamma_compression_effect_test TESTS += colorspace_conversion_effect_test +TESTS += alpha_multiplication_effect_test +TESTS += alpha_division_effect_test TESTS += saturation_effect_test TESTS += deconvolution_sharpen_effect_test TESTS += blur_effect_test @@ -59,6 +62,8 @@ LIB_OBJS += white_balance_effect.o LIB_OBJS += gamma_expansion_effect.o LIB_OBJS += gamma_compression_effect.o LIB_OBJS += colorspace_conversion_effect.o +LIB_OBJS += alpha_multiplication_effect.o +LIB_OBJS += alpha_division_effect.o LIB_OBJS += saturation_effect.o LIB_OBJS += vignette_effect.o LIB_OBJS += mirror_effect.o @@ -67,6 +72,7 @@ LIB_OBJS += diffusion_effect.o LIB_OBJS += glow_effect.o LIB_OBJS += unsharp_mask_effect.o LIB_OBJS += mix_effect.o +LIB_OBJS += overlay_effect.o LIB_OBJS += resize_effect.o LIB_OBJS += resample_effect.o LIB_OBJS += dither_effect.o @@ -110,11 +116,14 @@ clean: $(RM) -r movit.info coverage/ check: $(TESTS) - FAIL=0; \ + FAILED_TESTS=""; \ for TEST in $(TESTS); do \ - ./$$TEST || FAIL=1; \ + ./$$TEST || FAILED_TESTS="$$TEST $$FAILED_TESTS"; \ done; \ - exit $$FAIL + if [ "$$FAILED_TESTS" ]; then \ + echo Failed tests: $$FAILED_TESTS; \ + exit 1; \ + fi # You need to build with COVERAGE=1 to use this target. coverage: check