Skip to content

Commit dd6c7cd

Browse files
committed
unit tests: Extend c++ version check to include c++1y/c++1z
1 parent 98f799f commit dd6c7cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/unitTests/runit.InternalFunctionCPP11.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# You should have received a copy of the GNU General Public License
1919
# along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
2020

21-
hasCXX11 <- grepl("-std=c\\+\\+1[1-9]", Sys.getenv("PKG_CXXFLAGS"))
21+
hasCXX11 <- grepl("-std=c\\+\\+1[1-9yz]", Sys.getenv("PKG_CXXFLAGS"))
2222

2323
.runThisTest <- Sys.getenv("RunAllRcppTests") == "yes" && hasCXX11
2424

0 commit comments

Comments
 (0)