浏览代码

Deleting the artifacts dir in teardown after reset

/with_cloud_tests
Priyesh Wani 4 年前
当前提交
81f7c412
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      com.unity.perception/Tests/Runtime/GroundTruthTests/DatasetCaptureSensorSchedulingTests.cs

3
com.unity.perception/Tests/Runtime/GroundTruthTests/DatasetCaptureSensorSchedulingTests.cs


using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
using NUnit.Framework;

Time.timeScale = 1;
DatasetCapture.ResetSimulation();
yield return null;
if (Directory.Exists(DatasetCapture.OutputDirectory))
Directory.Delete(DatasetCapture.OutputDirectory, true);
Debug.Log("Simulation Reset and finished all async requests!");
}

正在加载...
取消
保存