diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2016-04-15 03:08:06 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-04-15 05:49:42 +0530 |
commit | 86aa51232ee73343d6f0aa136e925aa196be55f3 (patch) | |
tree | 0278a4c495b896219d89086eddf3a204e496b3f3 /mesonbuild/backend/backends.py | |
parent | e3bc2e5c68c7590eaf5962fc87cfa587285900ef (diff) | |
download | meson-86aa51232ee73343d6f0aa136e925aa196be55f3.zip meson-86aa51232ee73343d6f0aa136e925aa196be55f3.tar.gz meson-86aa51232ee73343d6f0aa136e925aa196be55f3.tar.bz2 |
backends: Don't duplicate test setup data file name
Instead, return the values of the test and benchmark setup data files so
that the ninja/osx/vs backends can use those filenames instead of
hard-coding them.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 08e3d2d..12529b3 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -204,6 +204,7 @@ class Backend(): datafile = open(benchmark_data, 'wb') self.write_benchmark_file(datafile) datafile.close() + return (test_data, benchmark_data) def has_source_suffix(self, target, suffix): for s in target.get_sources(): |