summaryrefslogtreecommitdiffstats
path: root/tests/preprocessor
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-01-17 17:50:48 -0500
committerGitHub <noreply@github.com>2019-01-17 17:50:48 -0500
commit3c7e1be0098f963225afd0ebe83340a991392892 (patch)
tree4be05c44125c3378cb5278cd8f7615fc280ea0fc /tests/preprocessor
parent668078ac8be89e55c8e13ac429c4b0e63fb604dc (diff)
Feature/hash for source identity (#786)
* * Added COMMAND_LINE_SIMPLE test type * Made how spawning works controllable by paramter/type SpawnType * Made break-outside-loop and global-uniform run command line slangc * calcRelativePath -> calcCombinedPath * Add 64 bit version of GetHash. * Add support for Hash based mode for CacheFileSystem.
Diffstat (limited to 'tests/preprocessor')
-rw-r--r--tests/preprocessor/pragma-once.slang4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/preprocessor/pragma-once.slang b/tests/preprocessor/pragma-once.slang
index fe805f82f..02db6e3b3 100644
--- a/tests/preprocessor/pragma-once.slang
+++ b/tests/preprocessor/pragma-once.slang
@@ -27,6 +27,10 @@
#include "pragma-once-a.h"
#include "pragma-once-b.h"
+// Make sure relative paths are handled
+#include "./pragma-once-a.h"
+#include "./pragma-once-a.h"
+
// Now let's use both the function and the
// macro, to confirm that they are both
// defined as expected.