Переглянути джерело

Enable scrypt tests on Linux

Marcin Krzyzanowski 6 роки тому
батько
коміт
6bb48eb6e5
2 змінених файлів з 3 додано та 1 видалено
  1. 1 1
      CryptoSwift.xcodeproj/project.pbxproj
  2. 2 0
      Tests/LinuxMain.swift

+ 1 - 1
CryptoSwift.xcodeproj/project.pbxproj

@@ -474,6 +474,7 @@
 			isa = PBXGroup;
 			children = (
 				81F279DE2181F5A000449EDA /* ScryptTests.swift */,
+				81F279E02181F5C500449EDA /* ScryptTestsPerf.swift */,
 				14156CE42011422400DDCFBC /* ChaCha20Poly1305Tests.swift */,
 				E3FD2D511D6B813C00A9F35F /* Error+Extension.swift */,
 				754BE46719693E190098E6F3 /* DigestTests.swift */,
@@ -499,7 +500,6 @@
 				75C2E76C1D55F097003D2BCA /* Access.swift */,
 				756BFDCA1A82B87300B9D9A4 /* Bridging.h */,
 				754BE46519693E190098E6F3 /* Supporting Files */,
-				81F279E02181F5C500449EDA /* ScryptTestsPerf.swift */,
 			);
 			name = Tests;
 			path = Tests/Tests;

+ 2 - 0
Tests/LinuxMain.swift

@@ -16,6 +16,7 @@ var tests = [
     testCase(PBKDF.allTests()),
     testCase(RandomBytesSequenceTests.allTests),
     testCase(Access.allTests),
+    testCase(Scrypt.allTests)
 ]
 
 #if !CI
@@ -26,6 +27,7 @@ var tests = [
         testCase(RabbitTestsPerf.allTests()),
         testCase(ExtensionsTestPerf.allTests()),
         testCase(PBKDFPerf.allTests()),
+        testCase(ScryptTestsPerf.allTests))
     ]
 #endif