solaris: make 'v test-compiler' pass (stage 2)

This commit is contained in:
Delyan Angelov 2020-03-21 10:48:02 +02:00 committed by GitHub
parent a5c0d89c71
commit ba088056ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 236 additions and 9 deletions

View file

@ -574,6 +574,15 @@ pub fn (v &V) v_files_from_dir(dir string) []string {
if file.ends_with('_nix.v') && v.pref.os == .windows {
continue
}
if file.ends_with('_android.v') && v.pref.os != .android {
continue
}
if file.ends_with('_freebsd.v') && v.pref.os != .freebsd {
continue
}
if file.ends_with('_solaris.v') && v.pref.os != .solaris {
continue
}
if file.ends_with('_js.v') && v.pref.os != .js {
continue
}