Home
last modified time | relevance | path

Searched refs:testfile (Results 1 – 25 of 67) sorted by relevance

123

/external/ltrace/testsuite/ltrace.main/
Dparameters.exp4 set testfile "parameters"
5 set srcfile ${testfile}.c
6 set binfile ${testfile}
40 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
42 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
44 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
46 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
48 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
50 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
52 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
[all …]
Dbranch_func.exp19 set testfile "branch_func"
20 set srcfile ${testfile}.c
21 set binfile ${testfile}
49 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100
51 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100
53 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100
55 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100
57 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 100
Dmain-vfork.exp3 set testfile "main-vfork"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
22 ltrace_options "-l" "lib$testfile.so" "-f" "-evfork"
38 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "print" 20
39 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "vfork resumed" 2
Dhello-vfork.exp3 set testfile "hello-vfork"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
34 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "_exit" 2
35 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "vfork resumed" 2
Dmain-threaded.exp3 set testfile "main-threaded"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
22 ltrace_options "-l" "lib$testfile.so" "-f"
39 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 30
Dsignals.exp3 set testfile "signals"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
10 if { [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executa…
39 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern $count
/external/elfutils/src/tests/
Drun-strip-test.sh23 debugout=${debugfile:+-f testfile.debug.temp -F $debugfile}
28 tempfiles testfile.temp testfile.debug.temp testfile.unstrip
30 testrun ${abs_top_builddir}/src/strip -o testfile.temp $debugout $original
34 cmp $stripped testfile.temp || status=$?
37 testrun ${abs_top_builddir}/src/elflint -q testfile.temp || status=$?
40 cmp $debugfile testfile.debug.temp || status=$?
43 testrun ${abs_top_builddir}/src/elflint -q -d testfile.debug.temp || status=$?
46 testrun ${abs_top_builddir}/src/unstrip -o testfile.unstrip testfile.temp testfile.debug.temp
49 testrun ${abs_top_builddir}/src/elfcmp --hash-inexact $original testfile.unstrip
52 tempfiles testfile.sections
[all …]
Drun-unstrip-test.sh25 tempfiles testfile.unstrip testfile.inplace
32 testrun ${abs_top_builddir}/src/unstrip -o testfile.unstrip $stripped $debugfile
34 testrun ${abs_top_builddir}/src/elfcmp --hash-inexact $original testfile.unstrip
38 rm -f testfile.inplace
39 cp $debugfile testfile.inplace
40 chmod 644 testfile.inplace
41 testrun ${abs_top_builddir}/src/unstrip $stripped testfile.inplace
43 testrun ${abs_top_builddir}/src/elfcmp --hash-inexact $original testfile.inplace
Drun-addr2line-i-test.sh55 testfiles testfile-inlines
57 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005a0 <<\EOF
61 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005a1 <<\EOF
65 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005b0 <<\EOF
69 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005b1 <<\EOF
73 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005c0 <<\EOF
78 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005d0 <<\EOF
83 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005e0 <<\EOF
89 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005e1 <<\EOF
95 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-inlines 0x00000000000005f1 <<\EOF
[all …]
Drun-readelf-zdebug.sh42 testfiles testfile-debug testfile-zdebug
57 cat loc.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=loc testfile-debug
59 …fset 0x1a27/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=loc testfile-zdebug
76 cat aranges.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=aranges testfile-…
78 … 0x1a5f/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=aranges testfile-zdebug
86 cat ranges.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=ranges testfile-de…
88 …t 0x1a87/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=ranges testfile-zdebug
101 start_file 0, [1] /tmp/testfile-zdebug.c
347 cat macro.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=macro testfile-debug
349 …et 0x1aa7/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=macro testfile-zdebug
[all …]
Drun-aggregate-size.sh65 testfiles testfile-sizes1.o testfile-sizes2.o testfile-sizes3.o
67 testrun_compare ${abs_builddir}/aggregate_size -e testfile-sizes1.o <<\EOF
79 testrun_compare ${abs_builddir}/aggregate_size -e testfile-sizes2.o <<\EOF
91 testrun_compare ${abs_builddir}/aggregate_size -e testfile-sizes3.o <<\EOF
Drun-addr2line-i-lex-test.sh35 testfiles testfile-lex-inlines
37 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000680 <<\…
41 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000681 <<\…
45 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000690 <<\…
50 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000691 <<\…
56 testrun_compare ${abs_top_builddir}/src/addr2line -f -i -e testfile-lex-inlines 0x0000000000000680 …
Drun-arsymtest.sh24 testfile=arsymtest.test
26 tempfiles $okfile $tmpfile $testfile
37 sort $tmpfile > $testfile
40 if cmp $okfile $testfile; then
/external/ltrace/testsuite/ltrace.minor/
Dcount-record.exp3 set testfile "count-record"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
9 if { [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executa…
49 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern
51 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern
53 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern
55 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern
57 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern
59 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern
[all …]
Dtrace-fork.exp3 set testfile "trace-fork"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
10 if { [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executa…
33 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
36 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
39 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
42 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
45 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
Ddemangle.exp3 set testfile "demangle"
4 set srcfile ${testfile}.cpp
5 set binfile ${testfile}
44 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $fun
59 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $sub_fun
62 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $fun
Dtrace-clone.exp3 set testfile "trace-clone"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
10 if { [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executa…
33 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
Dlibdl-simple.exp1 set testfile "libdl-simple"
2 set srcfile ${testfile}.c
3 set binfile ${testfile}
15 …|| [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executabl…
36 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
Dprint-instruction-pointer.exp3 set testfile "print-instruction-pointer"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
39 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
42 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
/external/vboot_reference/tests/
Dvb21_host_key_tests.c39 const char *testfile = "test.vbprik2"; in private_key_tests() local
56 vb2_write_file(testfile, (const uint8_t *)notapem, sizeof(notapem)); in private_key_tests()
57 TEST_EQ(vb2_private_key_read_pem(&key, testfile), in private_key_tests()
59 unlink(testfile); in private_key_tests()
77 unlink(testfile); in private_key_tests()
79 TEST_EQ(vb2_private_key_read(&k2, testfile), in private_key_tests()
84 TEST_SUCC(vb2_private_key_write(key, testfile), "Write key good"); in private_key_tests()
85 TEST_SUCC(vb2_private_key_read(&k2, testfile), "Read key good"); in private_key_tests()
93 TEST_SUCC(vb2_read_file(testfile, &buf, &bufsize), "Read key raw"); in private_key_tests()
149 unlink(testfile); in private_key_tests()
[all …]
Dvb21_host_misc_tests.c32 const char *testfile = "file_tests.dat"; in file_tests() local
40 unlink(testfile); in file_tests()
42 TEST_EQ(vb2_read_file(testfile, &read_data, &read_size), in file_tests()
47 TEST_SUCC(vb2_write_file(testfile, test_data, sizeof(test_data)), in file_tests()
49 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size), in file_tests()
54 unlink(testfile); in file_tests()
61 TEST_SUCC(vb2_write_object(testfile, c), "vb2_write_object() good"); in file_tests()
62 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size), in file_tests()
68 unlink(testfile); in file_tests()
/external/ltrace/testsuite/ltrace.torture/
Dvfork-thread.exp3 set testfile "vfork-thread"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
10 if { [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executa…
29 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "puts" 9
30 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "sleep" 7
31 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "vfork resumed" 2
32 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace "_exit" 1
Dppc-lwarx.exp19 set testfile "ppc-lwarx"
20 set srcfile ${testfile}.c
21 set binfile ${testfile}
50 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
52 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
54 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1
Dia64-sigill.exp3 set testfile "ia64-sigill"
4 set srcfile ${testfile}.s
5 set binfile ${testfile}
10 …if { [ ltrace_compile "${srcdir}/${subdir}/${testfile}.s" "${srcdir}/${subdir}/${binfile}" execut…
27 catch "exec sh -c {grep SIGILL ${srcdir}/${subdir}/${testfile}.ltrace | wc -l ;exit}" output
Dsignals.exp3 set testfile "signals"
4 set srcfile ${testfile}.c
5 set binfile ${testfile}
10 if { [ ltrace_compile "${srcdir}/${subdir}/${testfile}.c" "${objdir}/${subdir}/${binfile}" executa…
36 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern $count

123