##// END OF EJS Templates
Revert "Disables TestVariableSync"...
Revert "Disables TestVariableSync" This reverts commit 447f2dd17d69d7e4c0b9086ab4f4bf699fd6920e.

File last commit:

r2:451739a45362
r896:e0273b51bb7c
Show More
IPSIS_S04_FILENAME.tcl
13 lines | 479 B | application/x-tcl | TclLexer
#!/usr/bin/tclsh
# Naming conventions for file names
set fileNameRegex [getParameter "filename-regex" {^[A-Z]\w*$}]
foreach fileName [getSourceFileNames] {
# Check file name
if {[regexp {(?:\\|/)?([^\\/]+?)\.(?:h|cpp)$} $fileName matchedExpr fileNameWithoutExt]} {
if {![regexp $fileNameRegex $fileNameWithoutExt]} {
report $fileName 1 "The file names should match the following regex: $fileNameRegex (found: $fileNameWithoutExt)"
}
}
}