-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Handle everything in filenames, hopefully * Use non-mangled file name when writing test file
- Loading branch information
1 parent
0879fd7
commit dd4b6af
Showing
9 changed files
with
59 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// maybe the real test data was the file name we made along the way | ||
void main() { gl_FragColor = vec4(0.33, 0.66, 0.99, 1.); } |
11 changes: 11 additions & 0 deletions
11
tests/unit/file name with-weird caractères.frag.c-variables.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Generated with (https://github.com/laurentlb/Shader_Minifier/) | ||
#ifndef FILE_NAME_WITH_WEIRD_CARACT_RES_FRAG_C_VARIABLES_EXPECTED_ | ||
# define FILE_NAME_WITH_WEIRD_CARACT_RES_FRAG_C_VARIABLES_EXPECTED_ | ||
|
||
const char *file_name_with_weird_caract_res_frag = | ||
"void main()" | ||
"{" | ||
"gl_FragColor=vec4(.33,.66,.99,1);" | ||
"}"; | ||
|
||
#endif // FILE_NAME_WITH_WEIRD_CARACT_RES_FRAG_C_VARIABLES_EXPECTED_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Generated with (https://github.com/laurentlb/Shader_Minifier/) | ||
|
||
var file_name_with_weird_caractères_frag = `void main(){gl_FragColor=vec4(.33,.66,.99,1);}` |
7 changes: 7 additions & 0 deletions
7
tests/unit/file name with-weird caractères.frag.nasm.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
; Generated with (https://github.com/laurentlb/Shader_Minifier/) | ||
|
||
_file_name_with_weird_caract_res_frag: | ||
db 'void main()' | ||
db '{' | ||
db 'gl_FragColor=vec4(.33,.66,.99,1);' | ||
db '}', 0 |
7 changes: 7 additions & 0 deletions
7
tests/unit/file name with-weird caractères.frag.rust.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Generated with (https://github.com/laurentlb/Shader_Minifier/) | ||
|
||
pub const FILE_NAME_WITH_WEIRD_CARACTÈRES_FRAG: &'static [u8] = b"\ | ||
void main()\ | ||
{\ | ||
gl_FragColor=vec4(.33,.66,.99,1);\ | ||
}\0"; |