Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: tests/pnacl_dynamic_loading/pll_symbols_test.cc

Issue 1841113002: PNaCl Dynamic Linking: Tests storing dependencies from command line in PLL. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Code Review Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/pnacl_dynamic_loading/nacl.scons ('k') | toolchain_build/toolchain_build_pnacl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/pnacl_dynamic_loading/pll_symbols_test.cc
diff --git a/tests/pnacl_dynamic_loading/pll_symbols_test.cc b/tests/pnacl_dynamic_loading/pll_symbols_test.cc
index 2a220b2d313dd601a7c2f75bce8935b1d856df1d..c9716c023fbef729ce1592353473397d232e8fe9 100644
--- a/tests/pnacl_dynamic_loading/pll_symbols_test.cc
+++ b/tests/pnacl_dynamic_loading/pll_symbols_test.cc
@@ -171,6 +171,12 @@ const PLLRoot *LoadTranslatedPLL(const char *test_dso_file) {
void TestCoreFunctionality(const char *test_dso_file) {
const PLLRoot *pll_root = LoadTranslatedPLL(test_dso_file);
+ // Test dependencies.
+ ASSERT_EQ(pll_root->dependencies_count, 2);
+ ASSERT_EQ(strcmp(pll_root->dependencies_list, "libfoo.so"), 0);
+ ASSERT_EQ(strcmp(pll_root->dependencies_list + strlen("libfoo.so") + 1,
+ "libbar.so"), 0);
+
// Test exports.
DumpExportedSymbols(pll_root);
« no previous file with comments | « tests/pnacl_dynamic_loading/nacl.scons ('k') | toolchain_build/toolchain_build_pnacl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698