Loading ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodTestStats.java +3 −3 Original line number Diff line number Diff line Loading @@ -84,10 +84,10 @@ public class RavenwoodTestStats { try { mOutputWriter = new PrintWriter(mOutputFile); } catch (IOException e) { throw new RuntimeException("Failed to crete logfile. File=" + mOutputFile, e); throw new RuntimeException("Failed to create logfile. File=" + mOutputFile, e); } // Crete the "latest" symlink. // Create the "latest" symlink. Path symlink = Paths.get(tmpdir, basename + "latest.csv"); try { if (Files.exists(symlink)) { Loading @@ -96,7 +96,7 @@ public class RavenwoodTestStats { Files.createSymbolicLink(symlink, Paths.get(mOutputFile.getName())); } catch (IOException e) { throw new RuntimeException("Failed to crete logfile. File=" + mOutputFile, e); throw new RuntimeException("Failed to create logfile. File=" + mOutputFile, e); } Log.i(TAG, "Test result stats file: " + mOutputFile); Loading ravenwood/runtime-jni/ravenwood_sysprop.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ static bool property_set(const char* key, const char* value) { if (key == nullptr || *key == '\0') return false; if (value == nullptr) value = ""; bool read_only = !strncmp(key, "ro.", 3); if (!read_only && strlen(value) >= PROP_VALUE_MAX) return -1; if (!read_only && strlen(value) >= PROP_VALUE_MAX) return false; std::lock_guard lock(g_properties_lock); auto [it, success] = g_properties.emplace(key, value); Loading Loading
ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodTestStats.java +3 −3 Original line number Diff line number Diff line Loading @@ -84,10 +84,10 @@ public class RavenwoodTestStats { try { mOutputWriter = new PrintWriter(mOutputFile); } catch (IOException e) { throw new RuntimeException("Failed to crete logfile. File=" + mOutputFile, e); throw new RuntimeException("Failed to create logfile. File=" + mOutputFile, e); } // Crete the "latest" symlink. // Create the "latest" symlink. Path symlink = Paths.get(tmpdir, basename + "latest.csv"); try { if (Files.exists(symlink)) { Loading @@ -96,7 +96,7 @@ public class RavenwoodTestStats { Files.createSymbolicLink(symlink, Paths.get(mOutputFile.getName())); } catch (IOException e) { throw new RuntimeException("Failed to crete logfile. File=" + mOutputFile, e); throw new RuntimeException("Failed to create logfile. File=" + mOutputFile, e); } Log.i(TAG, "Test result stats file: " + mOutputFile); Loading
ravenwood/runtime-jni/ravenwood_sysprop.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ static bool property_set(const char* key, const char* value) { if (key == nullptr || *key == '\0') return false; if (value == nullptr) value = ""; bool read_only = !strncmp(key, "ro.", 3); if (!read_only && strlen(value) >= PROP_VALUE_MAX) return -1; if (!read_only && strlen(value) >= PROP_VALUE_MAX) return false; std::lock_guard lock(g_properties_lock); auto [it, success] = g_properties.emplace(key, value); Loading