Skip to content

Commit 2b970b1

Browse files
author
benoithudson
committed
FBX-100: stop testing on linux for the 4.0.1 release
The CI machines don't have the required libstdc++; turn off testing and re-enable it after release.
1 parent d739c99 commit 2b970b1

File tree

7 files changed

+85
-2
lines changed

7 files changed

+85
-2
lines changed

com.unity.formats.fbx/Tests/LinuxTests.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "FbxExporterLinuxTest",
3+
"rootNamespace": "",
4+
"references": [
5+
"Autodesk.Fbx",
6+
"UnityEngine.TestRunner",
7+
"UnityEditor.TestRunner"
8+
],
9+
"includePlatforms": [
10+
"Editor"
11+
],
12+
"excludePlatforms": [],
13+
"allowUnsafeCode": false,
14+
"overrideReferences": true,
15+
"precompiledReferences": [
16+
"nunit.framework.dll"
17+
],
18+
"autoReferenced": false,
19+
"defineConstraints": [
20+
"UNITY_EDITOR_LINUX",
21+
"UNITY_INCLUDE_TESTS"
22+
],
23+
"versionDefines": [],
24+
"noEngineReferences": false
25+
}

com.unity.formats.fbx/Tests/LinuxTests/LinuxTest.asmdef.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// ***********************************************************************
2+
// Copyright (c) 2021 Unity Technologies. All rights reserved.
3+
//
4+
// Licensed under the ##LICENSENAME##.
5+
// See LICENSE.md file in the project root for full license information.
6+
// ***********************************************************************
7+
8+
using NUnit.Framework;
9+
using Autodesk.Fbx;
10+
using System.IO;
11+
using System.Collections.Generic;
12+
13+
namespace Autodesk.Fbx.LinuxTest
14+
{
15+
/// <summary>
16+
/// On linux, in v4.0.1, we temporarily have no tests because of an issue
17+
/// with the CI machines not having libstdc++ required for FBX SDK.
18+
///
19+
/// But we need at least one test. So here goes.
20+
/// </summary>
21+
internal class EmptyTest
22+
{
23+
[Test]
24+
public static void Pass()
25+
{
26+
}
27+
}
28+
}

com.unity.formats.fbx/Tests/LinuxTests/LinuxTest.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.formats.fbx/Tests/Prefabs/Unity.Formats.Fbx.Editor.Tests.Prefabs.asmdef

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"overrideReferences": false,
99
"precompiledReferences": [],
1010
"autoReferenced": true,
11-
"defineConstraints": [],
11+
"defineConstraints": [
12+
"!UNITY_EDITOR_LINUX"
13+
],
1214
"versionDefines": []
1315
}

com.unity.formats.fbx/Tests/Unity.Formats.Fbx.Editor.Tests.asmdef

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@
1818
"overrideReferences": false,
1919
"precompiledReferences": [],
2020
"autoReferenced": true,
21-
"defineConstraints": []
21+
"defineConstraints": [
22+
"!UNITY_EDITOR_LINUX"
23+
]
2224
}

0 commit comments

Comments
 (0)