Lines Matching refs:seq
44 static void debugfs_print_result(struct seq_file *seq, struct string_stream *log) in debugfs_print_result() argument
57 seq_printf(seq, "%s", frag_container->fragment); in debugfs_print_result()
64 static int debugfs_print_results(struct seq_file *seq, void *v) in debugfs_print_results() argument
66 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results()
76 seq_puts(seq, "KTAP version 1\n"); in debugfs_print_results()
77 seq_puts(seq, "1..1\n"); in debugfs_print_results()
80 seq_puts(seq, KUNIT_SUBTEST_INDENT "KTAP version 1\n"); in debugfs_print_results()
81 seq_printf(seq, KUNIT_SUBTEST_INDENT "# Subtest: %s\n", suite->name); in debugfs_print_results()
82 seq_printf(seq, KUNIT_SUBTEST_INDENT "1..%zd\n", kunit_suite_num_test_cases(suite)); in debugfs_print_results()
85 debugfs_print_result(seq, test_case->log); in debugfs_print_results()
87 debugfs_print_result(seq, suite->log); in debugfs_print_results()
89 seq_printf(seq, "%s %d %s\n", in debugfs_print_results()
112 static int debugfs_print_run(struct seq_file *seq, void *v) in debugfs_print_run() argument
114 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_run()
116 seq_puts(seq, "Write to this file to trigger the test suite to run.\n"); in debugfs_print_run()
117 seq_printf(seq, "usage: echo \"any string\" > /sys/kernel/debugfs/kunit/%s/run\n", in debugfs_print_run()