Jason Simmons 652c0e071c Support gtest-parallel when running Impeller unit tests (flutter/engine#51079)
ImpellerC tests that use a temporary directory will append the current process ID to the directory name to avoid collisions.

The temporary directory will also be deleted after each test case completes.

See https://github.com/flutter/flutter/issues/143379
2024-03-04 20:17:07 +00:00

15 lines
325 B
C++

// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_PROCESS_H_
#define FLUTTER_FML_PROCESS_H_
namespace fml {
int GetCurrentProcId();
} // namespace fml
#endif // FLUTTER_FML_PROCESS_H_