Index: test/win/compiler-flags/optimizations.gyp |
diff --git a/test/win/compiler-flags/optimizations.gyp b/test/win/compiler-flags/optimizations.gyp |
index 6c0e9a5a3114bb51a9502f143438441769f028af..fd4b07005d9b05e5db15886f8ad7a5d7ea96dddd 100644 |
--- a/test/win/compiler-flags/optimizations.gyp |
+++ b/test/win/compiler-flags/optimizations.gyp |
@@ -15,7 +15,17 @@ |
'sources': ['hello.cc'], |
}, |
{ |
- 'target_name': 'test_opt_level_s', |
+ 'target_name': 'test_opt_lev_size', |
+ 'type': 'executable', |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'Optimization': '1' |
+ } |
+ }, |
+ 'sources': ['hello.cc'], |
+ }, |
+ { |
+ 'target_name': 'test_opt_lev_speed', |
'type': 'executable', |
'msvs_settings': { |
'VCCLCompilerTool': { |
@@ -25,6 +35,16 @@ |
'sources': ['hello.cc'], |
}, |
{ |
+ 'target_name': 'test_opt_lev_max', |
+ 'type': 'executable', |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'Optimization': '3' |
+ } |
+ }, |
+ 'sources': ['hello.cc'], |
+ }, |
+ { |
'target_name': 'test_opt_unset', |
'type': 'executable', |
'msvs_settings': { |
@@ -84,11 +104,11 @@ |
'sources': ['hello.cc'], |
}, |
{ |
- 'target_name': 'test_opt_size', |
+ 'target_name': 'test_opt_neither', |
'type': 'executable', |
'msvs_settings': { |
'VCCLCompilerTool': { |
- 'FavorSizeOrSpeed': '1' |
+ 'FavorSizeOrSpeed': '0' |
} |
}, |
'sources': ['hello.cc'], |
@@ -98,6 +118,16 @@ |
'type': 'executable', |
'msvs_settings': { |
'VCCLCompilerTool': { |
+ 'FavorSizeOrSpeed': '1' |
+ } |
+ }, |
+ 'sources': ['hello.cc'], |
+ }, |
+ { |
+ 'target_name': 'test_opt_size', |
+ 'type': 'executable', |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
'FavorSizeOrSpeed': '2' |
} |
}, |