Skip to content

Commit 6f98917

Browse files
committed
Use corrected module name in all tests
1 parent 86a1a2d commit 6f98917

File tree

22 files changed

+25
-25
lines changed

22 files changed

+25
-25
lines changed

tests/ArrayProxy/ArrayProxy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# ifdef VULKAN_HPP_SUPPORT_SPAN
3636
# include <span>
3737
# endif
38-
import vulkan_hpp;
38+
import vulkan;
3939
#else
4040
# include <vulkan/vulkan.hpp>
4141
#endif

tests/ArrayProxyNoTemporaries/ArrayProxyNoTemporaries.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include <iostream>
3333
#ifdef VULKAN_HPP_USE_CXX_MODULE
3434
# include <vulkan/vulkan_hpp_macros.hpp>
35-
import vulkan_hpp;
35+
import vulkan;
3636
#else
3737
# include <vulkan/vulkan.hpp>
3838
#endif
@@ -208,9 +208,9 @@ int main( int /*argc*/, char ** /*argv*/ )
208208
fctc( sv1 );
209209

210210
// getVector
211-
// fct( getConstVector() ); // not supported: cannot convert argument 1 from 'const std::vector<int,std::allocator<int>>' to 'vk::ArrayProxyNoTemporaries<int>'
212-
// fctc( getConstVector() ); // not supported: cannot convert argument 1 from 'const std::vector<int,std::allocator<int>>' to 'vk::ArrayProxyNoTemporaries<const int32_t>'
213-
// fct( getVector() ); // not supported: cannot convert argument 1 from 'std::vector<int,std::allocator<int>>' to 'vk::ArrayProxyNoTemporaries<int>'
211+
// fct( getConstVector() ); // not supported: cannot convert argument 1 from 'const std::vector<int,std::allocator<int>>' to 'vk::ArrayProxyNoTemporaries<int>'
212+
// fctc( getConstVector() ); // not supported: cannot convert argument 1 from 'const std::vector<int,std::allocator<int>>' to 'vk::ArrayProxyNoTemporaries<const int32_t>'
213+
// fct( getVector() ); // not supported: cannot convert argument 1 from 'std::vector<int,std::allocator<int>>' to 'vk::ArrayProxyNoTemporaries<int>'
214214
// fctc( getVector() ); // not supported: cannot convert argument 1 from 'std::vector<int,std::allocator<int>>' to 'vk::ArrayProxyNoTemporaries<const int32_t>'
215215

216216
vk::ArrayProxyNoTemporaries<int> apnt18 = sv0;

tests/ArrayWrapper/ArrayWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#endif
2626

2727
#ifdef VULKAN_HPP_USE_CXX_MODULE
28-
import vulkan_hpp;
28+
import vulkan;
2929
#else
3030
# include <vulkan/vulkan.hpp>
3131
#endif

tests/Cpp20Modules/Cpp20Modules.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <string> // std::string
2020
#include <iostream> // std::cout
2121

22-
import vulkan_hpp;
22+
import vulkan;
2323

2424
static std::string AppName = "Cpp20Modules";
2525
static std::string EngineName = "Vulkan.cppm";

tests/CppStdModule/CppStdModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// Compile test on using c++20 modules
1717

1818
import std;
19-
import vulkan_hpp;
19+
import vulkan;
2020

2121
#if defined( _MSC_VER )
2222
# pragma warning( disable : 4189 ) // local variable is initialized but not referenced

tests/CppType/CppType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifdef VULKAN_HPP_USE_CXX_MODULE
2121
# include <vulkan/vulkan.h>
2222
# include <vulkan/vulkan_hpp_macros.hpp>
23-
import vulkan_hpp;
23+
import vulkan;
2424
#else
2525
# include <vulkan/vulkan.hpp>
2626
# include <vulkan/vulkan_raii.hpp>

tests/DesignatedInitializers/DesignatedInitializers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <vector>
2121
#ifdef VULKAN_HPP_USE_CXX_MODULE
2222
# include <vulkan/vulkan_hpp_macros.hpp>
23-
import vulkan_hpp;
23+
import vulkan;
2424
#else
2525
# include <vulkan/vulkan.hpp>
2626
#endif

tests/DeviceFunctions/DeviceFunctions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include <iostream>
3434
#include <algorithm>
3535
#ifdef VULKAN_HPP_USE_CXX_MODULE
36-
import vulkan_hpp;
36+
import vulkan;
3737
#else
3838
# include <vulkan/vulkan.hpp>
3939
#endif

tests/DispatchLoaderDynamic/DispatchLoaderDynamic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <cassert>
2121
#include <iostream>
2222
#ifdef VULKAN_HPP_USE_CXX_MODULE
23-
import vulkan_hpp;
23+
import vulkan;
2424
#else
2525
# include <vulkan/vulkan.hpp>
2626
#endif

tests/EnableBetaExtensions/EnableBetaExtensions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#endif
3030

3131
#ifdef VULKAN_HPP_USE_CXX_MODULE
32-
import vulkan_hpp;
32+
import vulkan;
3333
#else
3434
# include <vulkan/vulkan.hpp>
3535
#endif

0 commit comments

Comments
 (0)