File: testhelper.cpp

package info (click to toggle)
kf6-extra-cmake-modules 6.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,524 kB
  • sloc: python: 668; cpp: 326; ansic: 291; xml: 182; sh: 62; makefile: 8
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;
}