]> git.sesse.net Git - movit/blobdiff - Makefile
Print output node in the dot graphs.
[movit] / Makefile
index 8396ac6c5170e2f6be7963d2cd258261e76d17b2..b9b66f4b8aa47fde0606c1f7c0978a593f39512a 100644 (file)
--- 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