Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 9 of 9) sorted by relevance

/unit/src/test/
H A Dnxt_base64_test.c20 } tests[] = { in nxt_base64_test() local
72 for (i = 0; i < nxt_nitems(tests); i++) { in nxt_base64_test()
73 ret = nxt_base64_decode(NULL, tests[i].enc.start, tests[i].enc.length); in nxt_base64_test()
75 if (ret == NXT_ERROR && tests[i].dec.start == NULL) { in nxt_base64_test()
79 if ((size_t) ret != tests[i].dec.length) { in nxt_base64_test()
83 &tests[i].enc, ret, tests[i].dec.length); in nxt_base64_test()
87 ret = nxt_base64_decode(buf, tests[i].enc.start, tests[i].enc.length); in nxt_base64_test()
89 if (!nxt_str_eq(&tests[i].dec, buf, (size_t) ret)) { in nxt_base64_test()
H A Dnxt_strverscmp_test.c24 static const nxt_strverscmp_test_t tests[] = { in nxt_strverscmp_test() local
55 for (i = 0; i < nxt_nitems(tests); i++) { in nxt_strverscmp_test()
57 ret = nxt_strverscmp((u_char *) tests[i].v1, (u_char *) tests[i].v2); in nxt_strverscmp_test()
59 switch (tests[i].res) { in nxt_strverscmp_test()
85 tests[i].v1, tests[i].res, tests[i].v2, ret); in nxt_strverscmp_test()
/unit/pkg/deb/debian/
H A Drules.in67 $(MAKE) -C $(BUILDDIR_$*) tests
71 do.tests: build
74 cd $(BUILDDIR_unit) && ./build/tests
75 cd $(BUILDDIR_unit_debug) && ./build/tests
98 install: build do.tests
/unit/auto/
H A Dmake190 .PHONY: tests
191 tests: $NXT_BUILD_DIR/tests $NXT_BUILD_DIR/utf8_file_name_test \\
197 $NXT_BUILD_DIR/tests: \$(NXT_TEST_OBJS) \\
199 \$(NXT_EXEC_LINK) -o $NXT_BUILD_DIR/tests \\
255 .PHONY: tests
256 tests:
258 echo "error: to make tests you need to configure --tests option."; \\
H A Doptions100 --tests) NXT_TESTS=YES ;;
/unit/pkg/rpm/
H A Dunit.spec.in139 cd %{bdir} && make tests && ./build/tests
H A DMakefile136 --tests \
/unit/pkg/deb/
H A DMakefile112 --tests \
/unit/
H A DCHANGES286 *) Change: functional tests migrated to the pytest framework.