File: testhelper.cpp

package info (click to toggle)
extra-cmake-modules 5.103.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,116 kB
  • sloc: python: 1,744; cpp: 646; ansic: 258; xml: 182; sh: 36; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#include "testhelper.h"
#include <fstream>
#include <string>

void make_test_file(const char *filename)
{
    std::ofstream(filename) << "test" << std::endl;
}